blob: dd68b5d8f56007272714baf6fc49865311a14341 (
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
|
$NetBSD: patch-aa,v 1.4 1998/11/24 05:23:23 mycroft Exp $
--- makefile.orig Tue Nov 24 01:08:49 1998
+++ makefile Tue Nov 24 01:09:26 1998
@@ -1,12 +1,19 @@
+CFLAGS= -O2
+
all: crashme pddet
crashme: crashme.o
- cc -o crashme crashme.o
+ ${CC} ${CFLAGS} -o crashme crashme.o
crashme.o: crashme.c
- cc -c crashme.c
+ ${CC} ${CFLAGS} -c crashme.c
pddet: pddet.o
- cc -o pddet pddet.o
+ ${CC} ${CFLAGS} -o pddet pddet.o
pddet.o: pddet.c
- cc -c pddet.c
+ ${CC} ${CFLAGS} -c pddet.c
+
+install: crashme pddet
+ ${INSTALL} -c -m 0755 crashme ${PREFIX}/sbin/crashme
+ ${INSTALL} -c -m 0755 pddet ${PREFIX}/sbin/pddet
+ ${INSTALL} -c -m 0444 crashme.1 ${PREFIX}/man/man1
|