openvr_test1

changeset 1:4310ced01da8 tip

builds on linux
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 13 Apr 2016 12:10:39 +0300
parents 806d30b46748
children
files Makefile
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Wed Apr 13 12:10:39 2016 +0300
     1.3 @@ -0,0 +1,13 @@
     1.4 +src = $(wildcard src/*.cc)
     1.5 +obj = $(src:.cc=.o)
     1.6 +bin = test
     1.7 +
     1.8 +CXXFLAGS = -std=c++11 -pedantic -Wall -g -DGNUC
     1.9 +LDFLAGS = -lGL -lGLU -lSDL2 -lm -lGLEW -lgmath -lopenvr_api
    1.10 +
    1.11 +$(bin): $(obj)
    1.12 +	$(CXX) -o $@ $(obj) $(LDFLAGS)
    1.13 +
    1.14 +.PHONY: clean
    1.15 +clean:
    1.16 +	rm -f $(obj) $(bin)