stratgame
diff Makefile @ 1:55a43e27339a
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 22 May 2012 05:02:00 +0300 |
parents | 86b53f76899f |
children | 369b51c9e4a8 |
line diff
1.1 --- a/Makefile Mon May 21 19:07:40 2012 +0300 1.2 +++ b/Makefile Tue May 22 05:02:00 2012 +0300 1.3 @@ -14,13 +14,17 @@ 1.4 LDFLAGS = $(libdir) $(slibs) $(libgl) -limtk 1.5 1.6 ifeq ($(shell uname -s), Darwin) 1.7 + CC = clang 1.8 + CXX = clang++ 1.9 + incdir += -I/opt/local/include 1.10 + libdir += -L/opt/local/lib 1.11 libgl = -framework OpenGL -framework GLUT -lGLEW 1.12 else 1.13 libgl = -lGL -lGLU -lglut -lGLEW 1.14 endif 1.15 1.16 $(bin): $(obj) $(slibs) 1.17 - $(CC) -o $@ $(obj) $(LDFLAGS) 1.18 + $(CXX) -o $@ $(obj) $(LDFLAGS) 1.19 1.20 -include $(dep) 1.21