imtk
diff Makefile @ 25:bb358d8c4903
added $(PREFIX)/include and $(PREFIX)/lib into the paths
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Tue, 04 Oct 2011 19:24:51 +0300 |
parents | c7a7ddbe7714 |
children |
line diff
1.1 --- a/Makefile Mon Sep 05 03:43:30 2011 +0300 1.2 +++ b/Makefile Tue Oct 04 19:24:51 2011 +0300 1.3 @@ -8,8 +8,8 @@ 1.4 1.5 CC = gcc 1.6 AR = ar 1.7 -CFLAGS = -pedantic -Wall -g -Isrc 1.8 -LDFLAGS = $(libgl) -lm 1.9 +CFLAGS = -pedantic -Wall -g -Isrc -I$(PREFIX)/include 1.10 +LDFLAGS = -L$(PREFIX)/lib $(libgl) -lm 1.11 1.12 ifeq ($(shell uname -s), Darwin) 1.13 libgl = -framework OpenGL -framework GLUT