Last change
on this file since 2e5aa0c was 2e5aa0c, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago |
Global .gitignore has server files as well and the graphics library has a makefile
|
-
Property mode
set to
100644
|
File size:
235 bytes
|
Rev | Line | |
---|
[2e5aa0c] | 1 | CC = g++
|
---|
| 2 | LIB_FLAGS = -lGL -lglut -lGLEW -lglfw
|
---|
| 3 | FLAGS = -Wall
|
---|
| 4 | DEPENDENCIES =
|
---|
| 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 graphics_engine
|
---|
| 14 | rm *.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.