freebsd-ports/x11-wm/wmDeskGuide/files/patch-Makefile
Adam Weinberger c5321d96fb Add wmDeskGuide-0.1.
wmDeskGuide is a desktop pager that runs as a WindowMaker dockapp.

It's been nearly 1 year since I submitted this PR, so I guess
it's fermented enough to bottle and commit it.

PR:		ports/41036
Submitted by:	Adam Weinberger <adam@vectors.cx>
2003-06-03 22:05:25 +00:00

28 lines
1 KiB
Text

--- Makefile.orig Tue Jun 3 14:56:23 2003
+++ Makefile Tue Jun 3 14:58:39 2003
@@ -1,19 +1,19 @@
TARGET=wmDeskGuide
SRC= gstc.c gwmh.c gwmthumbnail.c gwmdesktop.c gwmtaskview.c deskguide_applet.c
OBJ= gstc.o gwmh.o gwmthumbnail.o gwmdesktop.o gwmtaskview.o deskguide_applet.o
-INCLUDES= -I. `gnome-config gnomeui gnome --cflags` `gdk-pixbuf-config --cflags` -I/usr/X11/include
-CFLAGS=-Wall -O2 -c
+INCLUDES= -I. `${GNOME_CONFIG} gnomeui gnome --cflags` `${GDK_PIXBUF_CONFIG} --cflags` -I${X11BASE}/include
+#CFLAGS=-Wall -O2 -c
HDR= pixmaps.h gstc.h gwmh.h gwmdesktop.h gwmtaskview.h gwmthumbnail.h deskguide_applet.h config.h
-CPFLAGS=-Wall -O2
-LIBS=`gnome-config gnomeui gnome --libs` `gdk-pixbuf-config --libs`
+#CPFLAGS=-Wall -O2
+LIBS=`${GNOME_CONFIG} gnomeui gnome --libs` `${GDK_PIXBUF_CONFIG} --libs`
all: $(TARGET)
$(TARGET): $(OBJ)
- gcc $(CPFLAGS) -o $(TARGET) $(OBJ) $(LIBS)
+ ${CC} $(CPFLAGS) -o $(TARGET) $(OBJ) $(LIBS)
%.o: %.c $(HDR)
- gcc $(CFLAGS) $(INCLUDES) -c $(*F).c
+ ${CC} $(CFLAGS) $(INCLUDES) -c $(*F).c
EXTRA_DIST = \