# HG changeset patch # User John Tsiombikas # Date 1460538639 -10800 # Node ID 4310ced01da8752a638dda217823932fefc564dd # Parent 806d30b467489c3d5b0ed1f6ca808ec75742a333 builds on linux diff -r 806d30b46748 -r 4310ced01da8 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Wed Apr 13 12:10:39 2016 +0300 @@ -0,0 +1,13 @@ +src = $(wildcard src/*.cc) +obj = $(src:.cc=.o) +bin = test + +CXXFLAGS = -std=c++11 -pedantic -Wall -g -DGNUC +LDFLAGS = -lGL -lGLU -lSDL2 -lm -lGLEW -lgmath -lopenvr_api + +$(bin): $(obj) + $(CXX) -o $@ $(obj) $(LDFLAGS) + +.PHONY: clean +clean: + rm -f $(obj) $(bin)