view TaskManager/Makefile.parallel @ 1310:26c155523861 draft

add start_profile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Thu, 15 Dec 2011 16:48:55 +0900
parents 898fdcf53c31
children 652fce805fde
line wrap: on
line source

include ./Makefile.def
TARGET = libFifoManager.a
CFLAGS += -DHAS_POSIX_MEMALIGN

.SUFFIXES: .cc .o

EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__

.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) \
	Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o \
	Cell/spe/ShowTime.o Cell/spe/StartProfile.o

Makefile.dep: 
	make -f Makefile.parallel depend

depend:
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM  > Makefile.dep

$(TARGET): $(ALL_OBJS)
	ar crus $@ $(ALL_OBJS)

paralleldistclean: parallelclean
	rm -f $(TARGET)

parallelclean: