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
index
4ca72b2
..
af21e38
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,12
+5,13
@@
dep = $(obj:.o=.d)
bin = hair
dbg = -g
bin = hair
dbg = -g
-opt = -O0
-inc = -Isrc -Isrc/shaders -Isrc/math -I/home/eleni/igalia/install/include
-
+opt = -O3 -ffast-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 -lgmath -L/home/eleni/igalia/install/lib/libglut.so
+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)