annotate TaskManager/Makefile.cell @ 76:5a1a5f4c28fd

*** empty log message ***
author gongo
date Mon, 18 Feb 2008 11:40:11 +0900
parents 5da437ae84db
children 1c648675c2bd
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
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
3 SPETARGET = libspemanager.a
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
4
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
5 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
6 CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cpp)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
7 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cpp=.o)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
8
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
9 SPUCC = spu-g++
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
10
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
11 EXTRA_CFLAGS = -fno-strict-aliasing
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
12
76
5a1a5f4c28fd *** empty log message ***
gongo
parents: 74
diff changeset
13 TARGET = libCellManager.a
5a1a5f4c28fd *** empty log message ***
gongo
parents: 74
diff changeset
14
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
15 all: default
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
16 default: $(TARGET) $(SPETARGET)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
17
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
18 PPE_ALL_OBJS = $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(IMPL_CELL_OBJS)
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
19 $(TARGET): $(PPE_ALL_OBJS)
61
6bc72fde6615 *** empty log message ***
gongo
parents: 60
diff changeset
20 ar crus $@ $(PPE_ALL_OBJS)
59
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
21
16f9f6251f49 *** empty log message ***
gongo
parents: 58
diff changeset
22 $(PPE_ALL_OBJS): %.o : %.cpp
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
23 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
24
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
25 $(SPETARGET): $(CELL_SPE_OBJS)
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
26 ar crus $@ $(CELL_SPE_OBJS)
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
27
61
6bc72fde6615 *** empty log message ***
gongo
parents: 60
diff changeset
28 $(CELL_SPE_OBJS): %.o : %.cpp
74
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
29 $(SPUCC) $(CFLAGS) $(INCLUDE) -c $< -o $@
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
30
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
31 cellclean:
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
32 rm -f $(CELL_SPE_OBJS)
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
33 cd $(CELL_SPE_DIR); rm -f *~ \#*
5da437ae84db *** empty log message ***
gongo
parents: 61
diff changeset
34 rm -f $(SPETARGET)