blob: 1c6d893a129e9a36ae7e18f9a71c92e5619625b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- Makefile.orig Mon Nov 22 17:38:07 1999
+++ Makefile Thu Dec 27 18:35:43 2001
@@ -1,6 +1,6 @@
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
+FLAGS = ${CFLAGS}
OBJS = wmfstatus.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
@@ -8,10 +8,10 @@
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+ ${CC} -I${X11BASE}/include $(FLAGS) -c -Wall $< -o $*.o
wmfstatus: $(OBJS)
- cc $(FLAGS) -o wmfstatus $^ -lXext $(LIBDIR) $(LIBS)
+ ${CC} $(FLAGS) -o wmfstatus $? -lXext $(LIBDIR) $(LIBS)
all:: wmfstatus
@@ -23,7 +23,4 @@
rm -f *~
install:: wmfstatus
- cp -f wmfstatus /usr/local/bin/
- chmod 755 /usr/local/bin/wmfstatus
- chown root:root /usr/local/bin/wmfstatus
- @echo "WMFSTATUS Installation finished..."
+ ${BSD_INSTALL_PROGRAM} ./wmfstatus ${PREFIX}/bin/
|