From e684cec23ba82d233f0dd80a5e5c03e579ed8e06 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 11 Apr 1999 12:47:04 +0000 Subject: Respect CC and CFLAGS. --- games/pmars/files/patch-aa | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'games/pmars/files/patch-aa') diff --git a/games/pmars/files/patch-aa b/games/pmars/files/patch-aa index e78137733e4e..e203a92b6e64 100644 --- a/games/pmars/files/patch-aa +++ b/games/pmars/files/patch-aa @@ -1,11 +1,20 @@ ---- makefile.orig Mon Feb 15 17:07:29 1999 -+++ makefile Mon Feb 15 17:07:39 1999 -@@ -15,11 +15,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 -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX ++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 @@ -14,7 +23,7 @@ .SUFFIXES: .o .c .c~ .man .doc .6 MAINFILE = pmars -@@ -30,7 +30,7 @@ +@@ -30,7 +31,7 @@ OBJ2 = clparse.o global.o token.o OBJ3 = str_eng.o -- cgit v1.2.3