Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.parallel @ 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 | ef52a2b07344 |
children |
rev | line source |
---|---|
1179 | 1 include ./Makefile.def |
1186 | 2 TARGET = libFifoManager.a |
1179 | 3 CFLAGS += -DHAS_POSIX_MEMALIGN |
1407 | 4 |
5 ifdef LINUX | |
1400 | 6 CFLAGS += -lrt |
1407 | 7 endif |
1400 | 8 |
1179 | 9 |
10 .SUFFIXES: .cc .o | |
11 | |
1412
f40558ec00a8
remove duplicated spe task code source
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1407
diff
changeset
|
12 EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__ |
1179 | 13 |
14 .cc.o: | |
15 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | |
16 | |
17 | |
18 all: default | |
19 default: $(TARGET) | |
20 | |
1182 | 21 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \ |
1891
e0d465efc57e
directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1888
diff
changeset
|
22 $(KERN_SYSTASK_OBJS) $(IMPL_MANYCORE_OBJS) $(KERN_MEM_OBJS) \ |
1898 | 23 Cell/CellTaskManagerImpl.o Cell/spe/SpeTaskManagerImpl.o ManyCore/ManyCoreTaskManagerFactory.o \ |
24 Fifo/FifoDmaManager.o Fifo/FifoTaskManagerImpl.o \ | |
1179 | 25 |
26 Makefile.dep: | |
27 make -f Makefile.parallel depend | |
28 | |
29 depend: | |
30 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep | |
31 | |
32 $(TARGET): $(ALL_OBJS) | |
33 ar crus $@ $(ALL_OBJS) | |
34 | |
35 paralleldistclean: parallelclean | |
36 rm -f $(TARGET) | |
37 | |
1310 | 38 parallelclean: |