mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
24 lines
814 B
Plaintext
24 lines
814 B
Plaintext
--- 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${X11BASE}/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
|