summaryrefslogtreecommitdiff
blob: 9ed2a005215336b0f7e0748caf248bae9ed206c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/Makefile.orig	2003-08-17 17:45:35.948650760 -0400
+++ b/Makefile	2003-08-17 17:46:36.894385600 -0400
@@ -4,6 +4,8 @@
 beos := false
 macosx := false
 #use_asm := true
+use_opengl := true
+use_physfs := false
 
 #-----------------------------------------------------------------------------#
 # If this makefile fails to detect Cygwin correctly, or you want to force
@@ -80,6 +81,10 @@
 	buildengine/pragmas.o \
 	buildengine/unix_compat.o
 
+ifeq ($(strip $(use_opengl)),true)
+	BUILDOBJS += buildengine/buildgl.o
+endif
+
 ifeq ($(strip $(use_asm)),true)
 	BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o
 else
@@ -106,6 +106,10 @@
 
 LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS)
 
+ifeq ($(strip $(use_physfs)),true)
+	LDLIBS += -lphysfs
+endif
+
 # !!! FIXME: Do we even need this? It doesn't fly on MacOS X.  --ryan.
 #LDLIBS += -Wl,-E