1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xchadance/files/patch-aa
1999-06-22 17:35:12 +00:00

27 lines
573 B
Plaintext

--- makefile.orig Mon Mar 7 07:10:46 1994
+++ makefile Sun Jun 20 15:11:51 1999
@@ -1,6 +1,7 @@
CC = gcc
-CFLAGS = -Wall -O
-BINDIR = /usr/local/bin/
+CFLAGS+= -I${PREFIX}/include
+LDFLAGS+= -L${PREFIX}/lib -lX11
+BINDIR= ${PREFIX}/bin/
all : xchadance
@@ -9,11 +10,11 @@
rm *.o *~ *.bak core.* a.out
install :
- cp xchadance $(BINDIR)
+ install -c -s xchadance $(BINDIR)
xchadance : xchadance.o chadata.o
- $(CC) xchadance.o chadata.o -o xchadance -lX11
+ $(CC) xchadance.o chadata.o -o xchadance ${LDFLAGS}
xchadance.o : xchadance.c xchadance.h