#	@(#)Makefile	8.1 (Berkeley) 6/6/93

PROG=	strip
MAN1=	strip.1

all: maybe_stripped

maybe_stripped: strip
	cp -p strip maybe_stripped
.if ${STRIP:M-s} != ""
	./strip maybe_stripped
.endif

install: maninstall
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    maybe_stripped ${DESTDIR}${BINDIR}/strip

.include <bsd.prog.mk>

#	@(#)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 ${STRIP:M-s} != ""
	./strip maybe_stripped
.endif

install: maninstall
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    maybe_stripped ${DESTDIR}${BINDIR}/strip

.include <bsd.prog.mk>

Add the maybe_stripped to a CLEANFILES target to get a clean obj directory after a clean or cleandir.
Add the maybe_stripped to a CLEANFILES target to get a clean obj directory
after a clean or cleandir.
