4aed6f1e65
games/affenspiel - Support CC properly *** games/battalion - Support PREFIX properly *** games/block - Support CC/CFLAGS properly *** games/blue - Support CC/CFLAGS properly - Add WWW: line into pkg/DESCR New file: patches/patch-aa *** games/bs - Add WWW: line into pkg/DESCR *** games/columns - Support CXXFLAGS properly - Support sdl-config *** games/empire - Exclude GPL doc from package - Add WWW: line into pkg/DESCR *** games/freesweep to 0.87 - Update to version 0.87 *** games/galaxis - Support CC properly - Add WWW: line into pkg/DESCR *** games/garith - Support CC/CFLAGS properly - Support GTK_CONFIG *** games/gemdropx to 0.7 - Update to version 0.7 *** games/gtkballs - Exclude GPL doc from package - Support GTK_CONFIG *** games/icbm3d - Update WWW: line of pkg/DESCR *** games/mirrormagic - Support CC/X11BASE properly *** games/phalanx to 22 - Update to version 22 - Add WWW: line into pkg/DESCR *** games/spellcast - Update MASTER_SITES and WWW: line of pkg/DESCR - Support CFLAGS properly - Exclude GPL doc from package *** games/starlanes - Support CC properly - Exclude GPL doc from package *** games/xdigger to 1.0.10 - Update to version 1.0.10 New file: patches/patch-ad patches/patch-ae *** games/xtron - Support PREFIX properly - Exclude GPL doc from package *** games/xtruco - Support CC/CFLAGS/X11BASE properly *** games/xvier - Support X11BASE properly *** PR: 17741 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
--- Makefile.orig Thu Jan 16 16:31:58 1997
|
|
+++ Makefile Wed Mar 29 13:08:11 1998
|
|
@@ -23,7 +23,7 @@
|
|
# (the program should compile with no warning messages - if you
|
|
# see a warning message please let me know about it)
|
|
# ------------------------------------------------------------
|
|
-CC = CC
|
|
+#CC = CC
|
|
|
|
|
|
# STEP 2: IF YOU WANT TO COMPILE WITH THE MESA LIBRARIES THEN
|
|
@@ -39,7 +39,7 @@
|
|
# ------------------------------------------------------------
|
|
#GLIB = -lMesaGL -lMesaGLU
|
|
# or
|
|
-GLIB = -lGL -lGLU
|
|
+GLIB = -lMesaGL -lMesaGLU
|
|
|
|
|
|
# STEP 4: CHOOSE WHICH HARDWARE / OS YOU ARE RUNNING
|
|
@@ -51,9 +51,9 @@
|
|
# with the other Makefile.)
|
|
#
|
|
# ------------------------------------------------------------
|
|
-OS = -DSGIVERSION
|
|
+#OS = -DSGIVERSION
|
|
# or
|
|
-#OS = -DSUNVERSION
|
|
+OS = -DSUNVERSION
|
|
# or
|
|
#OS = -DLINUXVERSION
|
|
# or
|
|
@@ -77,8 +77,8 @@
|
|
# in audio.c then everything works fine.
|
|
#
|
|
# ------------------------------------------------------------
|
|
-AUDIOLIB = -laudio -laudiofile
|
|
-AUDIODEF = -DSGIAUDIO
|
|
+#AUDIOLIB = -laudio -laudiofile
|
|
+#AUDIODEF = -DSGIAUDIO
|
|
|
|
|
|
# STEP 6: IF YOU ARE COMPILING FOR A SUN AND WANT (RUDIMENTARY)
|
|
@@ -91,7 +91,7 @@
|
|
|
|
# STEP 7: CHOOSE ANY OPTIMIZATIONS OR ADD ANY SPECIAL INCLUSIONS
|
|
# ------------------------------------------------------------
|
|
-CFLAGS = -O -I/usr/local/X11/include -I/usr/demo/SOUND/ -I./.
|
|
+CFLAGS+= -I${X11BASE}/include -DPREFIX=\"${PREFIX}\"
|
|
|
|
|
|
# STEP 8: ADD ANY SPECIAL LIBRARY PATHS
|
|
@@ -106,7 +106,7 @@
|
|
TARGET = battalion
|
|
|
|
OBJ = battalion.o audio.o net.o gprim.o graphics.o objects.o text.o update.o tk.o font.o
|
|
-LIBS = -L./. -L/usr/X11R6/lib -lm -lX11 -lXext
|
|
+LIBS = -L./. -L${X11BASE}/lib -lm -lX11 -lXext -lcompat
|
|
|
|
all: $(TARGET)
|
|
|