mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
7701e49637
PR: 5973 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
26 lines
558 B
Plaintext
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
|
|
|