Mercurial > hg > Game > Cerium
comparison example/share_task/spe/Makefile @ 109:028ffc9c0375 draft
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 2c775d229cc6 |
comparison
equal
deleted
inserted
replaced
108:6f3b3dd3c095 | 109:028ffc9c0375 |
---|---|
1 include ../Makefile.def | |
2 | |
3 TARGET = ../spe-main | |
4 | |
5 SRCS_TMP = $(wildcard *.cc) | |
6 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) | |
7 OBJS = $(SRCS:.cc=.o) | |
8 | |
9 CC = spu-g++ | |
10 CFLAGS = -g -Wall -fno-exceptions -fno-rtti #-DDEBUG | |
11 INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. | |
12 LIBS = -L${CERIUM}/TaskManager -lspemanager | |
13 | |
14 .SUFFIXES: .cc .o | |
15 | |
16 .cc.o: | |
17 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
18 | |
19 all: $(TARGET) | |
20 | |
21 $(TARGET): $(OBJS) | |
22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) | |
23 | |
24 clean: | |
25 rm -f $(TARGET) $(OBJS) | |
26 rm -f *~ \#* |