summaryrefslogtreecommitdiffstats
path: root/games/glpuzzle/files/patch-Makefile
blob: d5ce0891df880d555e7f7d8996a3706215662816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.orig	Sun Feb  5 04:41:46 2006
+++ Makefile	Sun Feb  5 23:05:34 2006
@@ -1,8 +1,6 @@
 PROGRAM = glpuzzle
 
-CXXFLAGS = -O2 -Wall
-INCLFLAGS = -I/usr/include/SDL
-LIBSFLAGS = -lpthread -lGL -lpthread -lpng -ljpeg -lSDL
+LIBSFLAGS = $(LDFLAGS) -lGL -lpng -ljpeg
 SOURCES = main.cxx Screen.cxx Texture.cxx Loader.cxx
 
 ENABLE_SOUND = 1
@@ -43,7 +41,7 @@
 	g++ -c $(CXXFLAGS) $(INCLFLAGS) $< -o $@ 
 
 $(PROGRAM): $(OBJECTS) 
-	g++ $(OBJECTS) $(LIBSFLAGS) -o $@
+	g++ $(OBJECTS) $(CXXFLAGS) $(CPPFLAGS) $(LIBSFLAGS) -o $@
 
 install: $(PROGRAM)
 	@echo Installing in $(PREFIX)
OpenPOWER on IntegriCloud