coeng
diff Makefile @ 3:66d1762eb203
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 05 Feb 2015 23:20:20 +0200 |
parents | 4a1c9597f4d3 |
children | 49a2e70ac455 |
line diff
1.1 --- a/Makefile Thu Feb 05 11:04:07 2015 +0200 1.2 +++ b/Makefile Thu Feb 05 23:20:20 2015 +0200 1.3 @@ -2,11 +2,15 @@ 1.4 obj = $(ccsrc:.cc=.o) 1.5 bin = test 1.6 1.7 -CXXFLAGS = -pedantic -Wall -g 1.8 +warn = -pedantic -Wall 1.9 +dbg = -g 1.10 + 1.11 +CXXFLAGS = $(warn) $(dbg) 1.12 LDFLAGS = $(libgl) -lm -lvmath 1.13 1.14 ifeq ($(shell uname -s), Darwin) 1.15 libgl = -framework OpenGL -framework GLUT -lGLEW 1.16 + warn += -Wno-deprecated-declarations 1.17 else 1.18 libgl = -lGL -lGLU -lglut -lGLEW 1.19 endif