Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.def @ 2022:fac44ad2867d draft
make a sound
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Jul 2014 02:50:32 +0900 |
parents | 273de551f726 |
children |
rev | line source |
---|---|
2 | 1 KERN_DIR = kernel |
2 | |
109 | 3 KERN_MAIN_SRCS = $(KERN_DIR)/main.cc |
4 KERN_MAIN_OBJS = $(KERN_MAIN_SRCS:.cc=.o) | |
5 | |
2 | 6 KERN_PPE_DIR = $(KERN_DIR)/ppe |
109 | 7 KERN_PPE_SRCS = $(wildcard $(KERN_PPE_DIR)/*.cc) |
8 KERN_PPE_OBJS = $(KERN_PPE_SRCS:.cc=.o) | |
2 | 9 |
42 | 10 KERN_SCHED_DIR = $(KERN_DIR)/schedule |
109 | 11 KERN_SCHED_SRCS = $(wildcard $(KERN_SCHED_DIR)/*.cc) |
12 KERN_SCHED_OBJS = $(KERN_SCHED_SRCS:.cc=.o) | |
42 | 13 |
109 | 14 KERN_SYSTASK_DIR = $(KERN_DIR)/sys_task |
15 KERN_SYSTASK_SRCS = $(wildcard $(KERN_SYSTASK_DIR)/*.cc) | |
16 KERN_SYSTASK_OBJS = $(KERN_SYSTASK_SRCS:.cc=.o) | |
17 | |
369 | 18 KERN_MEM_DIR = $(KERN_DIR)/memory |
19 KERN_MEM_SRCS = $(wildcard $(KERN_MEM_DIR)/*.cc) | |
20 KERN_MEM_OBJS = $(KERN_MEM_SRCS:.cc=.o) | |
2 | 21 |
22 IMPL_FIFO_DIR = Fifo | |
109 | 23 IMPL_FIFO_SRCS = $(wildcard $(IMPL_FIFO_DIR)/*.cc) |
1892 | 24 IMPL_FIFO_OBJS = $(filter-out $(IMPL_FIFO_DIR)/FifoTaskManagerFactory.o,$(IMPL_FIFO_SRCS:.cc=.o)) |
2 | 25 |
26 IMPL_CELL_DIR = Cell | |
109 | 27 IMPL_CELL_SRCS = $(IMPL_FIFO_SRCS) $(wildcard $(IMPL_CELL_DIR)/*.cc) |
1892 | 28 IMPL_CELL_OBJS = $(filter-out $(IMPL_CELL_DIR)/CellTaskManagerFactory.o,$(IMPL_CELL_SRCS:.cc=.o)) |
2 | 29 |
1439
20e935f170c1
add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1394
diff
changeset
|
30 IMPL_GPU_DIR = Gpu |
20e935f170c1
add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1394
diff
changeset
|
31 IMPL_GPU_SRCS = $(wildcard $(IMPL_GPU_DIR)/*.cc) |
1892 | 32 IMPL_GPU_OBJS = $(filter-out $(IMPL_GPU_DIR)/GpuTaskManagerFactory.o,$(IMPL_GPU_SRCS:.cc=.o)) |
1439
20e935f170c1
add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1394
diff
changeset
|
33 |
1915
effb5653fd5c
update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1892
diff
changeset
|
34 IMPL_CUDA_DIR = Cuda |
effb5653fd5c
update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1892
diff
changeset
|
35 IMPL_CUDA_SRCS = $(wildcard $(IMPL_CUDA_DIR)/*.cc) |
effb5653fd5c
update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1892
diff
changeset
|
36 IMPL_CUDA_OBJS = $(filter-out $(IMPL_CUDA_DIR)/CudaTaskManagerFactory.o,$(IMPL_CUDA_SRCS:.cc=.o)) |
effb5653fd5c
update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1892
diff
changeset
|
37 |
1891
e0d465efc57e
directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1887
diff
changeset
|
38 IMPL_MANYCORE_DIR = ManyCore |
e0d465efc57e
directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1887
diff
changeset
|
39 IMPL_MANYCORE_SRCS = $(wildcard $(IMPL_MANYCORE_DIR)/*.cc) |
1892 | 40 IMPL_MANYCORE_OBJS = $(filter-out $(IMPL_MANYCORE_DIR)/ManyCoreTaskManagerFactory.o,$(IMPL_MANYCORE_SRCS:.cc=.o)) |
1891
e0d465efc57e
directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1887
diff
changeset
|
41 |
1079 | 42 ABIBIT = 64 |
606
242a9db53612
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
440
diff
changeset
|
43 |
1887 | 44 OPT = -g -O0 -DMAIL_QUEUE #-DEARLY_TOUCH |
45 #OPT = -O9 -DMAIL_QUEUE #-DEARLY_TOUCH | |
1163 | 46 |
1152 | 47 |
664 | 48 |
1531 | 49 CC = clang++ |
50 CXX = clang++ | |
1960
273de551f726
use multiple command_queue
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1915
diff
changeset
|
51 CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT) #-DDEBUG |
1531 | 52 CXXFLAGS = $(CFLAGS) |
634 | 53 LIBS = -m$(ABIBIT) |
2 | 54 |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
55 INCLUDE = -I../include/TaskManager |