volray
diff Makefile @ 3:6f275934717b
foon
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 02 Apr 2012 14:42:03 +0300 |
parents | b050ce167ff1 |
children |
line diff
1.1 --- a/Makefile Mon Apr 02 14:00:28 2012 +0300 1.2 +++ b/Makefile Mon Apr 02 14:42:03 2012 +0300 1.3 @@ -4,11 +4,13 @@ 1.4 bin = volray 1.5 1.6 CC = gcc 1.7 -CFLAGS = -pedantic -Wall -g 1.8 -LDFLAGS = $(libgl) -limago -lvmath -lm 1.9 +CFLAGS = -pedantic -Wall -g $(incdir) 1.10 +LDFLAGS = $(libdir) $(libgl) -limago -lvmath -lm 1.11 1.12 ifeq ($(shell uname -s), Darwin) 1.13 - libgl = -framework OpenGL -framework GLUT 1.14 + libgl = -framework OpenGL -framework GLUT -lGLEW 1.15 + incdir = -I/opt/local/include 1.16 + libdir = -L/opt/local/lib 1.17 else 1.18 libgl = -lGL -lglut -lGLEW 1.19 endif