26
|
1 CC = g++
|
38
|
2 CFLAGS = -O9 -g -Wall `sdl-config --cflags` `xml2-config --cflags`\
|
35
|
3 -I../../../include/TaskManager -I.
|
26
|
4 LIBS = `sdl-config --libs` -lSDL_image -Wl,-framework,OpenGL `xml2-config --libs`\
|
|
5 -L../../ -lmanager
|
|
6 TARGET = test_nogl
|
|
7 #OBJS = scene.o demonstration.o sys.o base64_de.o pad.o texture.o xml.o polygon.o viewer.o main.o
|
35
|
8 OBJS = task/task_init.o task/create_pp.o task/update_sgp.o task/create_sgp.o triangle.o vertex.o span.o sys.o base64_de.o pad.o texture.o xml.o polygon.o viewer.o main.o
|
26
|
9
|
|
10
|
|
11 all:$(TARGET)
|
|
12
|
|
13 $(TARGET): $(OBJS)
|
|
14 $(CC) -o $@ $(OBJS) $(LIBS)
|
|
15
|
|
16 .cpp.o:
|
|
17 $(CC) $(CFLAGS) -o $@ -c $<
|
|
18
|
|
19 clean:
|
|
20 rm -f $(TARGET) $(OBJS)
|
|
21 rm -f *~
|