Updated README.md with build instructions
[hair] / Makefile
index 8b94f2b..af21e38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,12 @@ 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)
+CFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc)
 LDFLAGS = -lGL -lGLU -lglut -lGLEW -limago -lassimp -lgmath
 
 $(bin): $(obj)