freebsd-ports/games/3dpong/files/patch-aa
Matthew Hunt 7701e49637 Import of 3dpong v0.3, a three-dimensional pong game for X11.
PR:		5973
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
1998-04-27 03:51:05 +00:00

26 lines
558 B
Plaintext

--- 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