Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.parallel @ 1479:163220e54cc0 draft
remove hard code for TaskLog
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Jul 2012 17:15:15 +0900 |
parents | f40558ec00a8 |
children | 5238ca826d6e |
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) \ |
22 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \ | |
1354 | 23 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o |
1179 | 24 |
25 Makefile.dep: | |
26 make -f Makefile.parallel depend | |
27 | |
28 depend: | |
29 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep | |
30 | |
31 $(TARGET): $(ALL_OBJS) | |
32 ar crus $@ $(ALL_OBJS) | |
33 | |
34 paralleldistclean: parallelclean | |
35 rm -f $(TARGET) | |
36 | |
1310 | 37 parallelclean: |