Mercurial > hg > Members > kono > Cerium
changeset 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 | 510424e175ae |
children | d50fc4ca79e4 |
files | TaskManager/Makefile TaskManager/Makefile.fifo |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Makefile Thu Dec 31 04:07:18 2009 +0900 +++ b/TaskManager/Makefile Thu Dec 31 11:25:21 2009 +0900 @@ -9,6 +9,9 @@ fifo: FORCE @$(MAKE) -f Makefile.fifo +depend: FORCE + @$(MAKE) -f Makefile.fifo depend + cell: FORCE @$(MAKE) -f Makefile.cell
--- a/TaskManager/Makefile.fifo Thu Dec 31 04:07:18 2009 +0900 +++ b/TaskManager/Makefile.fifo Thu Dec 31 11:25:21 2009 +0900 @@ -2,6 +2,7 @@ TARGET = libFifoManager.a + .SUFFIXES: .cc .o EXTRA_CFLAGS = -D__CERIUM_FIFO__ @@ -9,11 +10,18 @@ .cc.o: $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ + all: default default: $(TARGET) ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) +Makefile.dep: + make -f Makefile.fifo depend + +depend: + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep + $(TARGET): $(ALL_OBJS) ar crus $@ $(ALL_OBJS) @@ -21,3 +29,5 @@ rm -f $(TARGET) fifoclean: + +include ./Makefile.dep