$NetBSD: patch-aa,v 1.5 2004/02/08 12:58:55 grant Exp $ --- makefile.orig 2004-02-08 23:56:35.000000000 +1100 +++ makefile @@ -1,12 +1,17 @@ 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