1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-clocks/washerdryer/files/patch-Makefile
Mario Sergio Fujikawa Ferreira 1976795ac9 New port washerdryer version 1.0: A dockapp that keeps track of
the loads in your washer and dryer

Submitted by:	Patrick Li <pat@databits.net>
2001-11-09 22:40:44 +00:00

25 lines
818 B
Plaintext

--- Makefile.orig Fri Sep 21 19:41:47 2001
+++ Makefile Thu Nov 8 00:16:26 2001
@@ -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 -g -o washerDryer $^ $(LIBDIR) $(LIBS)
+ $(CC) -o washerDryer $^ $(LIBDIR) $(LIBS)
all:: washerDryer