X-Git-Url: http://git.mutantstargoat.com?p=hair;a=blobdiff_plain;f=Makefile;h=af21e38cd7de1930c6216e64a8bc0f035b46b61e;hp=517443adb4a298e5a07e8a806f661807b68fb162;hb=HEAD;hpb=da5cbacf755273da510c37c819a59c7fe9894c4e diff --git a/Makefile b/Makefile old mode 100755 new mode 100644 index 517443a..af21e38 --- a/Makefile +++ b/Makefile @@ -5,12 +5,13 @@ dep = $(obj:.o=.d) bin = hair dbg = -g -opt = -O0 +opt = -O3 -ffast-math inc = -Isrc -Isrc/shaders -Isrc/math - CXX = g++ +CC = gcc CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) -LDFLAGS = -lGL -lGLU -lglut -lGLEW -limago -lassimp +CFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc) +LDFLAGS = -lGL -lGLU -lglut -lGLEW -limago -lassimp -lgmath $(bin): $(obj) $(CXX) -o $@ $(obj) $(LDFLAGS)