diff options
Diffstat (limited to '')
-rw-r--r-- | x11-wm/bbrun/files/patch-Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-wm/bbrun/files/patch-Makefile b/x11-wm/bbrun/files/patch-Makefile new file mode 100644 index 000000000000..6202e4ccc942 --- /dev/null +++ b/x11-wm/bbrun/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig Mon Oct 2 11:05:09 2000 ++++ Makefile Sat Dec 1 20:33:06 2001 +@@ -1,19 +1,21 @@ +-LIBDIR = -L/usr/X11R6/lib -L/usr/lib +-LIBS = -lXpm -lXext -lX11 -lm -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl +-CFLAGS = -I/usr/X11R6/include -I/usr/lib/glib/include ++LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib ++LIBS = `${GTK_CONFIG} --libs` -rdynamic -lXpm ++CFLAGS += `${GTK_CONFIG} --cflags` -Wall + OBJS = bbrun.o \ + ../wmgeneral/wmgeneral.o \ + ../wmgeneral/misc.o \ + ../wmgeneral/list.o + + .c.o: +- cc -c -O2 -Wall $< -o $*.o $(CFLAGS) ++ $(CC) -c $< -o $*.o $(CFLAGS) + + bbrun: $(OBJS) +- cc -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS) ++ $(CC) -o bbrun $^ $(LIBDIR) $(LIBS) + + clean:: + for i in $(OBJS) ; do \ + rm $$i; \ + done + rm bbrun ++ ++all: bbrun |