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