diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-05-31 12:58:43 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-05-31 12:58:43 +0000 |
commit | 503873a8702462812bcbf00e89f55009446fcc0e (patch) | |
tree | 52e1ecac424adb4a75339b8964b7efbb10176625 /misc/wmfirew/files | |
parent | 1fbc65378b4fe8302f15b8366def8fe579a63a48 (diff) |
Notes
Diffstat (limited to 'misc/wmfirew/files')
-rw-r--r-- | misc/wmfirew/files/patch-Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/misc/wmfirew/files/patch-Makefile b/misc/wmfirew/files/patch-Makefile new file mode 100644 index 000000000000..ccb43e80f3d9 --- /dev/null +++ b/misc/wmfirew/files/patch-Makefile @@ -0,0 +1,38 @@ +$FreeBSD$ + +--- Makefile.orig Thu May 16 12:16:40 2002 ++++ Makefile Thu May 16 12:17:17 2002 +@@ -1,21 +1,20 @@ +-INCDIR = -I/usr/X11R6/include +-LIBDIR = -L/usr/X11R6/lib +-LIBS = -lXpm -lXext -lX11 +-OBJS = wmfirew.o ../wmgeneral/wmgeneral.o ++CC ?= gcc ++CFLAGS += -c -Wall ++INCDIR = -I${X11BASE}/include ++LIBDIR = -L${X11BASE}/lib ++LIBS = -lXpm -lXext -lX11 ++OBJS = wmfirew.o ../wmgeneral/wmgeneral.o + + .c.o: +- cc -c -g -O2 -Wall -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR) +- +-all: wmfirew ++ ${CC} ${CFLAGS} ${INCDIR} -D${shell echo `uname -s`} $< -o $*.o + + wmfirew: $(OBJS) +- cc -o wmfirew $^ $(LIBDIR) $(LIBS) ++ ${CC} -o wmfirew $^ ${LIBDIR} ${LIBS} ++ ++all: wmfirew + + clean: +- for i in $(OBJS) ; do \ ++ for i in ${OBJS}; do \ + rm -f $$i; \ + done +- rm -f wmfirew +- +-install: +- mv wmfirew /usr/local/bin ++ rm -f wmfirew core |