summaryrefslogtreecommitdiff
path: root/games/cultivation/files/patch-Makefile.GnuLinux
blob: 3afa4bf369f277dafe47881bac8d2155dd0e46dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.GnuLinux.orig	Mon Apr 23 18:30:54 2007
+++ Makefile.GnuLinux	Tue Aug 14 01:57:08 2007
@@ -15,16 +15,16 @@
 ##
 
 
-PLATFORM_COMPILE_FLAGS = -DLINUX
+PLATFORM_COMPILE_FLAGS = ${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include -DLINUX
 
 
 # various GL and X windows  librariesneeded for linux
 # also need portaudio library (which in turn needs pthreads)
-PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread
+PLATFORM_LINK_FLAGS = -L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu -pthread -lportaudio
 
 
 # All platforms but OSX support g++ and need no linker hacks
-GXX = g++ 
+GXX = ${CXX}
 LINK_FLAGS =