Mercurial > hg > Game > Cerium
annotate TaskManager/Makefile.fifo @ 1354:652fce805fde draft
fix Makefile
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 18:12:09 +0900 |
parents | 8fd004a3f02c |
children | 3152bb4429da |
rev | line source |
---|---|
741
9cbfd2bb5377
include of Makefile.fifo fix
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
740
diff
changeset
|
1 include ./Makefile.def |
80 | 2 TARGET = libFifoManager.a |
3 | |
109 | 4 .SUFFIXES: .cc .o |
3 | 5 |
718 | 6 EXTRA_CFLAGS = -D__CERIUM_FIFO__ |
109 | 7 |
8 .cc.o: | |
9 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | |
3 | 10 |
739
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
11 |
3 | 12 all: default |
13 default: $(TARGET) | |
14 | |
1183
8fd004a3f02c
add SpeTaskManagerImpl to Makefile.fifo
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
741
diff
changeset
|
15 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \ |
8fd004a3f02c
add SpeTaskManagerImpl to Makefile.fifo
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
741
diff
changeset
|
16 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \ |
1354 | 17 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o |
1183
8fd004a3f02c
add SpeTaskManagerImpl to Makefile.fifo
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
741
diff
changeset
|
18 |
42 | 19 |
739
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
20 Makefile.dep: |
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
21 make -f Makefile.fifo depend |
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
22 |
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
23 depend: |
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
24 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep |
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
25 |
42 | 26 $(TARGET): $(ALL_OBJS) |
27 ar crus $@ $(ALL_OBJS) | |
80 | 28 |
29 fifodistclean: fifoclean | |
30 rm -f $(TARGET) | |
31 | |
606
242a9db53612
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
32 fifoclean: |
739
1404b737a38d
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
33 |