blob: 19fb332dadd46e827115383f42cdeed204adc331 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- 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)
|