annotate TaskManager/Makefile.cell @ 60:f50c74835a9b

*** empty log message ***
author gongo
date Sat, 16 Feb 2008 20:05:35 +0900
parents 16f9f6251f49
children 6bc72fde6615
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
1 include ./Makefile.def
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
2
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
3 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
4 CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cpp)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
5 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cpp=.o)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
6
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
7 SPUCC = spu-g++
60
f50c74835a9b *** empty log message ***
gongo
parents: 59
diff changeset
8 SPUCFLAGS = -fno-strict-aliasing
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
9
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
10 all: default
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
11 default: $(TARGET) spe
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
12
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
13 PPE_ALL_OBJS = $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(IMPL_CELL_OBJS)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
14 $(TARGET): $(PPE_ALL_OBJS)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
15 ar crus $@ $(ALL_OBJS)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
16
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
17 $(PPE_ALL_OBJS): %.o : %.cpp
60
f50c74835a9b *** empty log message ***
gongo
parents: 59
diff changeset
18 $(CC) $(CFLAGS) $(SPUCFLAGS) $(INCLUDE) -c $< -o $@
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
19
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
20 spe: $(CELL_SPE_OBJS)
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
21
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
22 $(CELL_SPE_OBJS): %.o %.cpp
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
23 $(SPUCC) $(CFLAGS) $(INCLUDE) -c $< -o $@