Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Makefile.fifo @ 739:050f92cd3628
make depend (for Mac OS X)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 31 Dec 2009 11:25:21 +0900 |
parents | 31eb1f56d986 |
children | d50fc4ca79e4 |
rev | line source |
---|---|
3 | 1 include ./Makefile.def |
2 | |
80 | 3 TARGET = libFifoManager.a |
4 | |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
5 |
109 | 6 .SUFFIXES: .cc .o |
3 | 7 |
718 | 8 EXTRA_CFLAGS = -D__CERIUM_FIFO__ |
109 | 9 |
10 .cc.o: | |
11 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | |
3 | 12 |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
13 |
3 | 14 all: default |
15 default: $(TARGET) | |
16 | |
369 | 17 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) |
42 | 18 |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
19 Makefile.dep: |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
20 make -f Makefile.fifo depend |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
21 |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
22 depend: |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
23 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
24 |
42 | 25 $(TARGET): $(ALL_OBJS) |
26 ar crus $@ $(ALL_OBJS) | |
80 | 27 |
28 fifodistclean: fifoclean | |
29 rm -f $(TARGET) | |
30 | |
606
32a7260fad2f
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
31 fifoclean: |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
32 |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
33 include ./Makefile.dep |