openbsd-ports/games/wmtictactoe/patches/patch-wmtictactoe_Makefile
wilfried 16e88fd510 Import of wmtictactoe-1.1-1
wmTicTacToe is exactly what it sounds like:
Tic-Tac-Toe in a dock app.

ok naddy@
2001-02-09 13:02:37 +00:00

30 lines
808 B
Plaintext

$OpenBSD: patch-wmtictactoe_Makefile,v 1.1.1.1 2001/02/09 13:02:38 wilfried Exp $
--- wmtictactoe/Makefile.orig Mon Aug 30 16:14:17 1999
+++ wmtictactoe/Makefile Tue Feb 6 15:58:19 2001
@@ -1,14 +1,15 @@
-LIBDIR = -L/usr/X11R6/lib
+CFLAGS+= -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) -c $(CFLAGS) $< -o $@
all: wmtictactoe
wmtictactoe: $(OBJS)
- cc -o wmtictactoe $^ $(LIBDIR) $(LIBS)
+ $(CC) -o wmtictactoe $(OBJS) $(LIBDIR) $(LIBS)
clean:
for i in $(OBJS) ; do \
@@ -17,5 +18,5 @@ clean:
rm -rf wmtictactoe core *~
install:
- /usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe /usr/local/bin/wmtictactoe
+ ${BSD_INSTALL_PROGRAM} wmtictactoe ${PREFIX}/bin