source: network-game/graphics_library/makefile@ af116c0

Last change on this file since af116c0 was af116c0, checked in by Dmitry Portnoy <dmp1488@…>, 10 years ago

new graphics library code

  • Property mode set to 100644
File size: 347 bytes
Line 
1CC = g++
2LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
3FLAGS = -Wall
4DEPENDENCIES = common/texture.o common/controls.o common/shader.o
5
6graphics_engine : main.cpp $(DEPENDENCIES)
7 $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
8
9%.o : %.cpp
10 $(CC) -c -o $@ $? $(FLAGS)
11
12clean:
13 rm -f *.o
14 rm -f common/*.o
15 rm -f graphics_engine
Note: See TracBrowser for help on using the repository browser.