freebsd-dev/usr.bin/strip/Makefile
Nate Williams b9e1fead9e Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00

22 lines
398 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= strip
MAN1= strip.1
CLEANFILES += maybe_stripped
all: maybe_stripped
maybe_stripped: strip
cp -p strip maybe_stripped
.if defined(STRIP)
.if ${STRIP:M-s} != ""
./strip maybe_stripped
.endif
.endif
install: maninstall
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip
.include <bsd.prog.mk>