blob: 6d330f544f3d6fabd7392be6c1e8715bb3ff2b01 (
plain) (
blame)
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
|
--- Makefile.orig Fri Oct 15 06:19:54 1993
+++ Makefile Wed Apr 30 18:02:04 2003
@@ -1,21 +1,20 @@
SHELL = /bin/sh
-DESTDIR = /usr/local/bin
-MANUAL = /usr/local/man/man1/kbanner.1
-CFLAGS = -O -KEOPT -KBREG -KINF
+DESTDIR = ${PREFIX}/bin
+MANUAL = ${PREFIX}/man/man1/kbanner.1
OBJ = kbanner.o font1.o font2.o font3.o
.SUFFIXES: .c .o
.c.o:
- cc -c $(CFLAGS) $<
+ ${CC} -c $(CFLAGS) $<
kbanner: $(OBJ)
- cc $(OBJ) -o kbanner
+ ${CC} $(OBJ) -o kbanner
strip kbanner
clean:
rm -f *.o core
install: kbanner
- cp kbanner $(DESTDIR)/
- cp kbanner.1 $(MANUAL)
+ ${BSD_INSTALL_PROGRAM} kbanner $(DESTDIR)/
+ ${BSD_INSTALL_MAN} kbanner.1 $(MANUAL)
|