Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Makefile.fifo @ 740:d50fc4ca79e4
move include Makefile.dep
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 01 Jan 2010 21:24:27 +0900 |
parents | 050f92cd3628 |
children | e0c72383762f |
rev | line source |
---|---|
3 | 1 |
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
050f92cd3628
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 | |
369 | 15 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) |
42 | 16 |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
17 Makefile.dep: |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
18 make -f Makefile.fifo depend |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
19 |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
20 depend: |
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
21 $(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
|
22 |
42 | 23 $(TARGET): $(ALL_OBJS) |
24 ar crus $@ $(ALL_OBJS) | |
80 | 25 |
26 fifodistclean: fifoclean | |
27 rm -f $(TARGET) | |
28 | |
606
32a7260fad2f
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
369
diff
changeset
|
29 fifoclean: |
739
050f92cd3628
make depend (for Mac OS X)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
718
diff
changeset
|
30 |