annotate TaskManager/Makefile.parallel @ 1235:1bb43068289b draft

update blender script
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Thu, 20 Oct 2011 19:08:41 +0900
parents 898fdcf53c31
children 26c155523861
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
1 include ./Makefile.def
1186
4c209dd223cd fix MailManager and Semaphore
Daichi TOMA
parents: 1182
diff changeset
2 TARGET = libFifoManager.a
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
3 CFLAGS += -DHAS_POSIX_MEMALIGN
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
4
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
5 .SUFFIXES: .cc .o
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
6
1189
898fdcf53c31 add SemMailManager
Daichi TOMA
parents: 1186
diff changeset
7 EXTRA_CFLAGS = -D__CERIUM_FIFO__ -D__CERIUM_PARALLEL__
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
8
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
9 .cc.o:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
10 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
11
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
12
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
13 all: default
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
14 default: $(TARGET)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
15
1182
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
16 ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) \
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
17 $(KERN_SYSTASK_OBJS) $(IMPL_FIFO_OBJS) $(KERN_MEM_OBJS) \
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
18 Cell/spe/SpeTaskManagerImpl.o Cell/CellTaskManagerImpl.o \
5a9bee9cc8c9 add CpuThreads weit sem
Daichi TOMA
parents: 1179
diff changeset
19 Cell/spe/ShowTime.o Cell/spe/StartProfile.o
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
20
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
21 Makefile.dep:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
22 make -f Makefile.parallel depend
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
23
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
24 depend:
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
25 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $(ALL_OBJS:.o=.cc) -MM > Makefile.dep
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
26
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
27 $(TARGET): $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
28 ar crus $@ $(ALL_OBJS)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
29
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
30 paralleldistclean: parallelclean
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
31 rm -f $(TARGET)
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
32
5393bebe0956 CpuThreads update
Daichi TOMA
parents:
diff changeset
33 parallelclean: