Last change
on this file since ace001a was af116c0, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago |
new graphics library code
|
-
Property mode
set to
100644
|
File size:
347 bytes
|
Line | |
---|
1 | CC = g++
|
---|
2 | LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
|
---|
3 | FLAGS = -Wall
|
---|
4 | DEPENDENCIES = common/texture.o common/controls.o common/shader.o
|
---|
5 |
|
---|
6 | graphics_engine : main.cpp $(DEPENDENCIES)
|
---|
7 | $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
|
---|
8 |
|
---|
9 | %.o : %.cpp
|
---|
10 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
11 |
|
---|
12 | clean:
|
---|
13 | rm -f *.o
|
---|
14 | rm -f common/*.o
|
---|
15 | rm -f graphics_engine
|
---|
Note:
See
TracBrowser
for help on using the repository browser.