Updated README.md with build instructions
[hair] / Makefile
old mode 100755 (executable)
new mode 100644 (file)
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)