1179
|
1 include ./Makefile.def
|
1186
|
2 TARGET = libFifoManager.a
|
1179
|
3 CFLAGS += -DHAS_POSIX_MEMALIGN
|
|
4
|
|
5 .SUFFIXES: .cc .o
|
|
6
|
1189
|
7 EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__
|
1179
|
8
|
|
9 .cc.o:
|
|
10 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
|
|
11
|
|
12
|
|
13 all: default
|
|
14 default: $(TARGET)
|
|
15
|
1182
|
16 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \
|
|
17 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \
|
|
18 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o \
|
|
19 Cell/spe/ShowTime.o Cell/spe/StartProfile.o
|
1179
|
20
|
|
21 Makefile.dep:
|
|
22 make -f Makefile.parallel depend
|
|
23
|
|
24 depend:
|
|
25 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep
|
|
26
|
|
27 $(TARGET): $(ALL_OBJS)
|
|
28 ar crus $@ $(ALL_OBJS)
|
|
29
|
|
30 paralleldistclean: parallelclean
|
|
31 rm -f $(TARGET)
|
|
32
|
|
33 parallelclean: |