curvedraw
diff Makefile @ 15:37ab3a4c02f8
merged
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 20 Dec 2015 09:06:04 +0200 |
parents | 5ace6f6f4973 |
children |
line diff
1.1 --- a/Makefile Thu Dec 17 16:41:42 2015 +0200 1.2 +++ b/Makefile Sun Dec 20 09:06:04 2015 +0200 1.3 @@ -5,17 +5,17 @@ 1.4 dep = $(obj:.o=.d) 1.5 bin = curvedraw 1.6 1.7 -CXXFLAGS = -pedantic -Wall -g 1.8 +CXXFLAGS = -std=c++11 -pedantic -Wall -g 1.9 LDFLAGS = $(libgl) -lvmath -ldrawtext -lm 1.10 1.11 sys := $(shell uname -s | sed 's/MINGW.*/win32/') 1.12 1.13 ifeq ($(sys), Darwin) 1.14 - libgl = -framework OpenGL -framework GLUT 1.15 + libgl = -framework OpenGL -framework GLUT -lGLEW 1.16 else ifeq ($(sys), win32) 1.17 - libgl = -lopengl32 -lglut32 1.18 + libgl = -lopengl32 -lglut32 -lglew32 1.19 else 1.20 - libgl = -lGL -lglut 1.21 + libgl = -lGL -lglut -lGLEW 1.22 endif 1.23 1.24 $(bin): $(obj)