2000-02-02 01:56:37 +00:00
|
|
|
--- Makefile.orig Tue Feb 1 17:39:53 2000
|
|
|
|
+++ Makefile Tue Feb 1 17:44:42 2000
|
1999-11-20 00:57:08 +00:00
|
|
|
@@ -1,9 +1,9 @@
|
|
|
|
-prefix=
|
|
|
|
-BIN=/usr/X11R6/bin
|
|
|
|
-CONF=/etc
|
|
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
|
|
+CC ?= gcc
|
|
|
|
+CFLAGS = -c -Wall
|
|
|
|
+CONF = ${X11BASE}/etc
|
|
|
|
+LIBDIR = -L${X11BASE}/lib
|
|
|
|
+INCLUDES = -I${X11BASE}/include
|
|
|
|
LIBS = -lXpm -lXext -lX11
|
2000-02-02 01:56:37 +00:00
|
|
|
-CFLAGS = -O2 -Wall
|
|
|
|
OBJS = wmbiff.o Pop3Client.o \
|
1999-11-20 00:57:08 +00:00
|
|
|
../wmgeneral/wmgeneral.o \
|
|
|
|
../wmgeneral/misc.o \
|
2000-02-02 01:56:37 +00:00
|
|
|
@@ -11,11 +11,11 @@
|
1999-11-20 00:57:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
.c.o:
|
2000-02-02 01:56:37 +00:00
|
|
|
- cc -I/usr/X11R6/share/include $(CFLAGS) -c -Wall $< -o $*.o
|
|
|
|
+ ${CC} ${INCLUDES} ${CFLAGS} $< -o $*.o
|
1999-11-20 00:57:08 +00:00
|
|
|
|
|
|
|
wmbiff: $(OBJS)
|
2000-02-02 01:56:37 +00:00
|
|
|
- cc $(CFLAGS) -o wmbiff $^ $(LIBDIR) $(LIBS)
|
|
|
|
- strip wmbiff
|
1999-11-20 00:57:08 +00:00
|
|
|
+ ${CC} -o wmbiff $^ ${LIBDIR} ${LIBS}
|
2000-02-02 01:56:37 +00:00
|
|
|
+ @/usr/bin/strip wmbiff
|
1999-11-20 00:57:08 +00:00
|
|
|
|
|
|
|
all:: wmbiff
|
|
|
|
|
2000-02-02 01:56:37 +00:00
|
|
|
@@ -26,5 +26,4 @@
|
|
|
|
rm -f wmbiff *~ tags
|
1999-11-20 00:57:08 +00:00
|
|
|
|
|
|
|
install:: wmbiff
|
|
|
|
- cp -f wmbiff $(prefix)$(BIN)/
|
|
|
|
- chmod 755 $(prefix)$(BIN)/wmbiff
|
|
|
|
+ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbiff ${X11BASE}/bin/wmbiff
|