view TaskManager/Makefile.fifo @ 908:a4ed11e66fbf draft

fix
author Yutaka_Kinjyo
date Tue, 20 Jul 2010 04:05:07 +0900
parents 9cbfd2bb5377
children 8fd004a3f02c
line wrap: on
line source

include ./Makefile.def
TARGET = libFifoManager.a

.SUFFIXES: .cc .o

EXTRA_CFLAGS = -D__CERIUM_FIFO__ 

.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)

fifodistclean: fifoclean
	rm -f $(TARGET)

fifoclean: