summaryrefslogtreecommitdiff
path: root/games/3dpong/files/patch-aa
blob: 1fc82ad40f077b0fc893f65e7f2688838ce18714 (plain) (blame)
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
--- makefile.orig	Mon Jan 26 17:18:05 1998
+++ makefile	Sun Apr 26 23:48:06 1998
@@ -11,11 +11,11 @@
 
 # Makefile user-definable variables
 
-CC=gcc
+CC+=$(CFLAGS) -I$(X11BASE)/include -DPREFIX=\"${PREFIX}\"
 MATHLIB=-lm
 
 # adjust according to target
-XLIB=-lX11
+XLIB=-L$(X11BASE)/lib -lX11
 
 # uncomment for sunos/solaris
 #XLIB=-L/usr/openwin/lib -lX11
@@ -43,7 +43,7 @@
 # Application:
 
 3dpong:	$(OBJECTS)
-	$(CC)	$(OBJECTS) $(XLIB) $(MATHLIB) -o 3dpong
+	$(CC) $(CFLAGS) $(OBJECTS) $(XLIB) $(MATHLIB) -o 3dpong
 	chmod 755 3dpong
 	strip 3dpong