summaryrefslogblamecommitdiff
path: root/games/pmars/files/patch-aa
blob: 6d37fe3f04e1e32b37ff677bc8d272f754e54cf1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                               



                                                                          

                                                             







                                                                            
--- makefile.orig	Fri Oct 27 06:37:29 1995
+++ makefile	Sun Apr 11 20:36:53 1999
@@ -1,6 +1,6 @@
 # generic UNIX makefile
 #CC = gcc			# req. for linux
-CC = cc				# if you don't have gcc
+CC ?= cc				# if you don't have gcc
 # Configuration options:
 #
 # No.   Name            Incompatible with   Description
@@ -15,11 +15,12 @@
 # (5)   -DSMALLMEM                          16-bit addresses, less memory
 # (6)   -DXWINGRAPHX    1                   X-Windows graphics (UNIX)
 
-CFLAGS = -O -DEXT94
+CFLAGS ?= -O
+CFLAGS += -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX
 LFLAGS = -x
 LIB = -lcurses -ltermlib		# enable this one for curses display
 # LIB = -lvgagl -lvga			# enable this one for Linux/SVGA
-# LIB = -lX11				# enable this one for X11
+LIB = -L/usr/X11R6/lib -lX11		# enable this one for X11
 
 .SUFFIXES: .o .c .c~ .man .doc .6
 MAINFILE = pmars