2001-02-22 17:02:50 -05:00
|
|
|
--- Makefile.orig Fri Oct 15 06:19:54 1993
|
|
|
|
+++ Makefile Thu Feb 22 23:00:16 2001
|
2001-02-13 01:52:31 -05:00
|
|
|
@@ -1,21 +1,21 @@
|
|
|
|
SHELL = /bin/sh
|
|
|
|
-DESTDIR = /usr/local/bin
|
|
|
|
-MANUAL = /usr/local/man/man1/kbanner.1
|
2001-02-15 00:01:39 -05:00
|
|
|
-CFLAGS = -O -KEOPT -KBREG -KINF
|
2001-02-13 01:52:31 -05:00
|
|
|
+BINDIR = $(PREFIX)/bin
|
|
|
|
+MANUAL = $(PREFIX)/man/man1/kbanner.1
|
2001-02-22 17:02:50 -05:00
|
|
|
+#CFLAGS = -O # -KEOPT -KBREG -KINF
|
2001-02-13 01:52:31 -05:00
|
|
|
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 $(BINDIR)
|
|
|
|
+ $(BSD_INSTALL_MAN) kbanner.1 $(MANUAL)
|