openvr_test1

annotate Makefile @ 1:4310ced01da8

builds on linux
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 13 Apr 2016 12:10:39 +0300
parents
children
rev   line source
nuclear@1 1 src = $(wildcard src/*.cc)
nuclear@1 2 obj = $(src:.cc=.o)
nuclear@1 3 bin = test
nuclear@1 4
nuclear@1 5 CXXFLAGS = -std=c++11 -pedantic -Wall -g -DGNUC
nuclear@1 6 LDFLAGS = -lGL -lGLU -lSDL2 -lm -lGLEW -lgmath -lopenvr_api
nuclear@1 7
nuclear@1 8 $(bin): $(obj)
nuclear@1 9 $(CXX) -o $@ $(obj) $(LDFLAGS)
nuclear@1 10
nuclear@1 11 .PHONY: clean
nuclear@1 12 clean:
nuclear@1 13 rm -f $(obj) $(bin)