diff options
author | 2000-02-21 03:12:44 +0000 | |
---|---|---|
committer | 2000-02-21 03:12:44 +0000 | |
commit | e39316a5389763026d279cb2843687be131e15d4 (patch) | |
tree | 2047c23743143159c693b02f6ccb392f58714c2a | |
parent | Some more files to clean up. (millert@ ok) (diff) | |
download | wireguard-openbsd-e39316a5389763026d279cb2843687be131e15d4.tar.xz wireguard-openbsd-e39316a5389763026d279cb2843687be131e15d4.zip |
Add CLEANFILES and modify clean/cleandir targets.
(Modified as suggested by millert@)
-rw-r--r-- | gnu/usr.bin/bc/Makefile.bsd-wrapper | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/bc/Makefile.bsd-wrapper b/gnu/usr.bin/bc/Makefile.bsd-wrapper index 83d5213cfc4..6e351d854b3 100644 --- a/gnu/usr.bin/bc/Makefile.bsd-wrapper +++ b/gnu/usr.bin/bc/Makefile.bsd-wrapper @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.7 1999/02/03 23:31:15 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.8 2000/02/21 03:12:44 ho Exp $ SUBDIR=bcwrap MAN= doc/bc.1 doc/dc.1 LDFLAGS+= -s ${LDSTATIC} GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}" +CLEANFILES+= bc/libmath.h doc/dc.info all: config.status ${MAKE} ${GNUCFLAGS} @@ -45,10 +46,15 @@ install: maninstall bindir=${DESTDIR}/usr/bin infodir=${PREFIX}/usr/share/info install cd ${.CURDIR}/bcwrap && ${MAKE} install -clean cleandir: +clean: -@if [ -e Makefile ]; then ${MAKE} distclean; fi cd ${.CURDIR}/bcwrap && ${MAKE} clean +cleandir: + -@if [ -e Makefile ]; then ${MAKE} distclean; fi + cd ${.CURDIR}/bcwrap && ${MAKE} cleandir + rm -f ${CLEANFILES} + depend: # Nothing here so far... |