blob: dfee17e0e23b695124628844613a074653ee3cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- Makefile.orig Sun Mar 24 00:48:56 2002
+++ Makefile Sun Mar 24 02:40:46 2002
@@ -1,16 +1,16 @@
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib -L/opt/gnome/lib
-LIBS = -lXpm -lXext -lX11 -lm -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-CFLAGS = -I/usr/X11R6/include -I/usr/lib/glib/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
+LIBDIR = -L${LOCALBASE}/lib
+LIBS = `${GTK_CONFIG} --libs` -lXpm
+CFLAGS += `${GTK_CONFIG} --cflags`
OBJS = washerDryer.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
.c.o:
- cc -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -c -Wall $< -o $*.o $(CFLAGS)
washerDryer: $(OBJS)
- cc -Wall -pedantic -o washerDryer $^ $(LIBDIR) $(LIBS)
+ $(CC) -o washerDryer $^ $(LIBDIR) $(LIBS)
all:: washerDryer
|