view TaskManager/Makefile.fifo @ 2050:26dd777ba95d draft

add User API
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Jan 2016 15:43:36 +0900
parents b72db78232bc
children
line wrap: on
line source

include ./Makefile.def
TARGET = libFifoManager.a

.SUFFIXES: .cc .o

EXTRA_CFLAGS = -D__CERIUM_FIFO__ 

ifdef LINUX
CFLAGS += -lrt
endif

.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) \
	   $(IMPL_MANYCORE_OBJS) Cell/spe/SpeTaskManagerImpl.o Fifo/FifoTaskManagerFactory.o


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: