summaryrefslogtreecommitdiff
path: root/games/solarconquest/files/patch-makefile
blob: 349e95e25db39fb56e4f027ccdfa1b3eec54b604 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- makefile.orig	Sun Mar  6 16:36:47 2005
+++ makefile	Thu Apr  6 02:54:20 2006
@@ -1,5 +1,5 @@
-LIBRARIES = `sdl-config --libs` -L/usr/X11R6/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
-CFLAGS = -w -O3 -I/usr/include/GL `sdl-config --cflags`
+LIBRARIES = `${SDL_CONFIG} --libs` -L${X11BASE}/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
+CXXFLAGS += `${SDL_CONFIG} --cflags` -I${X11BASE}/include
 
 all:
-	g++ $(CFLAGS) -o solar ./source/main.cpp $(LIBRARIES)
+	${CXX} ${CXXFLAGS} -o solar ./source/main.cpp ${LIBRARIES}