source: network-game/graphics_library/makefile@ cf05729

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

new graphics library code

  • Property mode set to 100644
File size: 347 bytes
RevLine 
[2e5aa0c]1CC = g++
[af116c0]2LIB_FLAGS = -lGL -lglut -lGLEW `pkg-config glfw3 --static --cflags --libs`
[2e5aa0c]3FLAGS = -Wall
[af116c0]4DEPENDENCIES = common/texture.o common/controls.o common/shader.o
[2e5aa0c]5
6graphics_engine : main.cpp $(DEPENDENCIES)
7 $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
8
9%.o : %.cpp
10 $(CC) -c -o $@ $? $(FLAGS)
11
12clean:
[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.