Mercurial > hg > Game > Cerium
annotate example/Simple/spe/Makefile @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 97adb3fe85c6 |
children |
rev | line source |
---|---|
634 | 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 | |
713
97adb3fe85c6
remove SIMPLE_TASK conditional
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
699
diff
changeset
|
9 CC = spu-g++ -DABIBIT=$(ABIBIT) $(OPT) |
634 | 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) | |
699 | 22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) $(OPT) |
634 | 23 |
24 clean: | |
25 rm -f $(TARGET) $(OBJS) | |
26 rm -f *~ \#* |