1 src = $(wildcard src/*.cc) $(wildcard src/opengl/*.cc) $(wildcard src/vulkan/*.cc)
8 inc = -Isrc -Iexternal/gmath/src -I/usr/include -Iexternal/libimago/src
9 libs = -lGL -lGLEW -lglfw -lvulkan -lassimp -lgmath -limago
12 CXXFLAGS = -pedantic -Wall -std=c++0x $(dbg) -fPIC -D_GNU_SOURCE $(opt) $(inc) $(def)
13 LDFLAGS = -L$(LD_LIBRARY_PATH) $(libs)
16 $(CXX) -o $@ $(obj) $(LDFLAGS)
21 @$(CPP) $(CXXFLAGS) $< -MM -MT $(@:.d=.o) >$@
25 rm -f $(obj) $(bin) $(dep)