diff options
Diffstat (limited to 'games/wmtictactoe/files/patch-Makefile')
-rw-r--r-- | games/wmtictactoe/files/patch-Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games/wmtictactoe/files/patch-Makefile b/games/wmtictactoe/files/patch-Makefile new file mode 100644 index 0000000..93830cb --- /dev/null +++ b/games/wmtictactoe/files/patch-Makefile @@ -0,0 +1,30 @@ +--- 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${LOCALBASE}/include ++LIBDIR = -L${LOCALBASE}/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 -s -m 755 wmtictactoe ${DESTDIR}${PREFIX}/bin/wmtictactoe |