annotate TaskManager/Test/simple_render/test/LoadTexture/spe/Makefile @ 90:312b535f121e

Initial revision
author gongo
date Wed, 27 Feb 2008 21:17:47 +0900
parents
children 32be65e25785
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
312b535f121e Initial revision
gongo
parents:
diff changeset
1 TARGET = ../spe-main
312b535f121e Initial revision
gongo
parents:
diff changeset
2
312b535f121e Initial revision
gongo
parents:
diff changeset
3 SRCS = $(wildcard *.cpp)
312b535f121e Initial revision
gongo
parents:
diff changeset
4 OBJS = $(SRCS:.cpp=.o)
312b535f121e Initial revision
gongo
parents:
diff changeset
5
312b535f121e Initial revision
gongo
parents:
diff changeset
6 CC = spu-g++
312b535f121e Initial revision
gongo
parents:
diff changeset
7 CFLAGS = -O9 #-g -Wall# -DDEBUG
312b535f121e Initial revision
gongo
parents:
diff changeset
8 INCLUDE = -I../../../../../include/TaskManager -I. -I..
312b535f121e Initial revision
gongo
parents:
diff changeset
9 LIBS = -L../../../.. -lspemanager# -lm
312b535f121e Initial revision
gongo
parents:
diff changeset
10
312b535f121e Initial revision
gongo
parents:
diff changeset
11 .SUFFIXES: .cpp .o
312b535f121e Initial revision
gongo
parents:
diff changeset
12
312b535f121e Initial revision
gongo
parents:
diff changeset
13 .cpp.o:
312b535f121e Initial revision
gongo
parents:
diff changeset
14 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
312b535f121e Initial revision
gongo
parents:
diff changeset
15
312b535f121e Initial revision
gongo
parents:
diff changeset
16 all: $(TARGET)
312b535f121e Initial revision
gongo
parents:
diff changeset
17
312b535f121e Initial revision
gongo
parents:
diff changeset
18 $(TARGET): $(OBJS)
312b535f121e Initial revision
gongo
parents:
diff changeset
19 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
312b535f121e Initial revision
gongo
parents:
diff changeset
20
312b535f121e Initial revision
gongo
parents:
diff changeset
21 clean:
312b535f121e Initial revision
gongo
parents:
diff changeset
22 rm -f $(TARGET) $(OBJS)
312b535f121e Initial revision
gongo
parents:
diff changeset
23 rm -f *~ \#*