rayfract

diff Makefile @ 4:e4349f5804b9

switched to imtk
author John Tsiombikas <nuclear@siggraph.org>
date Fri, 29 Apr 2011 07:30:31 +0300
parents 03022062c464
children c27b24c9fdd2
line diff
     1.1 --- a/Makefile	Tue Oct 26 09:52:57 2010 +0300
     1.2 +++ b/Makefile	Fri Apr 29 07:30:31 2011 +0300
     1.3 @@ -6,14 +6,14 @@
     1.4  ifeq ($(shell uname -s), Darwin)
     1.5  	libgl = -framework OpenGL -framework GLUT -lGLEW
     1.6  else
     1.7 -	libgl = -lGL -lglut -lGLEW
     1.8 +	libgl = -lGL -lGLU -lglut -lGLEW
     1.9  endif
    1.10  
    1.11  CC = gcc
    1.12  CXX = g++
    1.13 -CFLAGS = -pedantic -Wall -g `pkg-config --cflags vmath freetype2`
    1.14 -CXXFLAGS = -pedantic -Wall -g `pkg-config --cflags vmath freetype2` -I/usr/local/include/utk
    1.15 -LDFLAGS = $(libgl) `pkg-config --libs vmath freetype2` -lutk
    1.16 +CFLAGS = -pedantic -Wall -g `pkg-config --cflags vmath`
    1.17 +CXXFLAGS = -pedantic -Wall -g `pkg-config --cflags vmath`
    1.18 +LDFLAGS = $(libgl) `pkg-config --libs vmath freetype2` -limtk
    1.19  
    1.20  $(bin): $(obj)
    1.21  	$(CXX) -o $@ $(obj) $(LDFLAGS)