1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/garith/files/patch-aa

27 lines
638 B
Plaintext
Raw Normal View History

--- Makefile.orig Thu Sep 18 13:03:00 1997
+++ Makefile Wed Mar 29 21:49:16 2000
@@ -1,16 +1,16 @@
# Makefile adapted from that in the GMix distribution, thanks.
-CC=gcc
-LINK=gcc
-INCDIR=
-LIBDIR=-L/usr/X11R6/lib
-LDLIBS=-lgnome -lgnomeui -lgdk -lgtk -lglib -lm
-OPTFLAGS= -m486 -O2 -Wall
+CC?=gcc
+LINK=$(CC)
+INCDIR=`${GTK_CONFIG} --cflags`
+LIBDIR=`${GTK_CONFIG} --libs`
+#LDLIBS=-lgnome -lgnomeui -lgdk -lgtk -lglib -lm
+#OPTFLAGS= -m486 -O2 -Wall
DEST=garith
OBJS=garith.o
SRCS=garith.c
-CFLAGS= $(OPTFLAGS) $(DEFINES) $(INCDIR)
+CFLAGS+= $(OPTFLAGS) $(DEFINES) $(INCDIR)
LFLAGS= $(LIBDIR) $(LDLIBS)
$(DEST) : $(OBJS)