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
|
Rev | Line | |
---|
[2e5aa0c] | 1 | CC = g++
|
---|
[af116c0] | 2 | LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
|
---|
[2e5aa0c] | 3 | FLAGS = -Wall
|
---|
[af116c0] | 4 | DEPENDENCIES = common/texture.o common/controls.o common/shader.o
|
---|
[2e5aa0c] | 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:
|
---|
[af116c0] | 13 | rm -f *.o
|
---|
| 14 | rm -f common/*.o
|
---|
| 15 | rm -f graphics_engine
|
---|
Note:
See
TracBrowser
for help on using the repository browser.