Ticket #40631: patch-BlockOut-Makefile.diff
File patch-BlockOut-Makefile.diff, 1.0 KB (added by jeremy@…, 11 years ago) |
---|
-
BlockOut/Makefile
old new 34 34 35 35 #--------------------------------------------------------------------- 36 36 37 SDL_ROOT = /users/pons/test/opengl/SDL38 IMGLIB_ROOT = ../ImageLib 37 SDL_ROOT = $(PREFIX) 38 IMGLIB_ROOT = ../ImageLib/src 39 39 40 40 CXX = g++ 41 41 42 CXXFLAGS = -g -D_DEBUG - Dlinux -c \43 -I$(SDL_ROOT)/include/SDL -I$(IMGLIB_ROOT) -I. 42 CXXFLAGS = -g -D_DEBUG -c \ 43 -I$(SDL_ROOT)/include/SDL -I$(IMGLIB_ROOT) -I. -I/usr/include -D_GNU_SOURCE=1 -D_THREAD_SAFE 44 44 45 LIBS = -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT) 45 LIBS = -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT) -lSDLmain -Wl,-framework,AppKit -lSDL -Wl,-framework,Cocoa -Wl,-framework,OpenGL 46 46 47 LFLAGS = $(LIBS) -limagelib -l GL -lGLU -lSDL_mixer -lSDL-lpthread -lm -ldl47 LFLAGS = $(LIBS) -limagelib -lSDL_mixer -lSDL -lSDLmain -lpthread -lm -ldl 48 48 49 49 #-------------------------------------------------------------------- 50 50