projects
/
hair
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README.md with build instructions
[hair]
/
Makefile
diff --git
a/Makefile
b/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
bin = hair
dbg = -g
-opt = -O0
+opt = -O3 -ffast-math
inc = -Isrc -Isrc/shaders -Isrc/math
inc = -Isrc -Isrc/shaders -Isrc/math
-
CXX = g++
CXX = g++
+CC = gcc
CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc)
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)
$(bin): $(obj)
$(CXX) -o $@ $(obj) $(LDFLAGS)