1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/wmtictactoe/files/patch-aa
Chris Piazza bfdab59fe1 Update to version 1.0
PR:	12402
Submitted by:	maintainer
1999-06-27 01:04:35 +00:00

31 lines
752 B
Plaintext

--- Makefile.orig Mon Mar 29 07:41:40 1999
+++ Makefile Sat Jun 26 18:00:10 1999
@@ -1,14 +1,17 @@
-LIBDIR = -L/usr/X11R6/lib
+CC ?= gcc
+CFLAGS += -c -Wall
+INCLUDES = -I${X11BASE}/include
+LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11
OBJS = wmtictactoe.o ../wmgeneral/wmgeneral.o
.c.o:
- cc -c -g -O2 -Wall $< -o $*.o
+ ${CC} ${CFLAGS} ${INCLUDES} $< -o $*.o
all: wmtictactoe
wmtictactoe: $(OBJS)
- cc -o wmtictactoe $^ $(LIBDIR) $(LIBS)
+ ${CC} -o wmtictactoe $^ ${LIBDIR} ${LIBS}
clean:
for i in $(OBJS) ; do \
@@ -17,5 +20,4 @@
rm wmtictactoe
install:
- /usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe /usr/local/bin/wmtictactoe
-
+ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe ${PREFIX}/bin/wmtictactoe