diff TaskManager/Makefile.fifo @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents 1c648675c2bd
children 03ae2929c931
line wrap: on
line diff
--- a/TaskManager/Makefile.fifo	Wed Nov 12 17:29:35 2008 +0900
+++ b/TaskManager/Makefile.fifo	Wed Nov 12 17:39:33 2008 +0900
@@ -2,16 +2,17 @@
 
 TARGET = libFifoManager.a
 
-
-.SUFFIXES: .cpp .o
+.SUFFIXES: .cc .o
 
-.cpp.o:
-	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
+EXTRA_CFLAGS = -D__CERIUM_FIFO__
+
+.cc.o:
+	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
 
 all: default
 default: $(TARGET)
 
-ALL_OBJS = $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(IMPL_FIFO_OBJS)
+ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS)
 
 $(TARGET): $(ALL_OBJS)
 	ar crus $@ $(ALL_OBJS)