Mercurial > hg > Game > Cerium
comparison TaskManager/Test/simple_render/Makefile @ 67:7d2874fb0671
*** empty log message ***
author | gongo |
---|---|
date | Sun, 17 Feb 2008 19:04:29 +0900 |
parents | 54355e641172 |
children | 178459e03f5c |
comparison
equal
deleted
inserted
replaced
66:1034077dd217 | 67:7d2874fb0671 |
---|---|
11 CFLAGS = -O9 -g -Wall# -DDEBUG | 11 CFLAGS = -O9 -g -Wall# -DDEBUG |
12 INCLUDE = -I../../../include/TaskManager -I. | 12 INCLUDE = -I../../../include/TaskManager -I. |
13 | 13 |
14 EXTRA_CFLAGS = `sdl-config --cflags` `xml2-config --cflags`\ | 14 EXTRA_CFLAGS = `sdl-config --cflags` `xml2-config --cflags`\ |
15 | 15 |
16 LIBS = `sdl-config --libs` -lSDL_image -Wl,-framework,OpenGL \ | 16 LIBS = `sdl-config --libs` -lSDL_image -lGL \ |
17 `xml2-config --libs`\ | 17 `xml2-config --libs`\ |
18 -L../../ -lmanager #-lspe2 -lpthread | 18 -L../../ -lmanager -lspe2 -lpthread |
19 | 19 |
20 .SUFFIXES: .cpp .o | 20 .SUFFIXES: .cpp .o |
21 | 21 |
22 .cpp.o: | 22 .cpp.o: |
23 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | 23 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ |
25 all: $(TARGET) | 25 all: $(TARGET) |
26 | 26 |
27 $(TARGET): $(OBJS) $(TASK_OBJS) | 27 $(TARGET): $(OBJS) $(TASK_OBJS) |
28 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) | 28 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) |
29 | 29 |
30 link: | |
31 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) | |
32 | |
30 clean: | 33 clean: |
31 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) | 34 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) |
32 rm -f *~ \#* | 35 rm -f *~ \#* |