diff options
author | jkh <jkh@FreeBSD.org> | 1994-09-16 14:30:25 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-09-16 14:30:25 +0000 |
commit | 7aa31544d63c08b97a4c9b329c2e33d97d17d977 (patch) | |
tree | a12ad3c3e705a4ec43a69b9e00f35a66b65f4ad6 /share/mk/bsd.own.mk | |
parent | f40d319a8685d1524f17f2e46cffef6bf9763224 (diff) | |
download | FreeBSD-src-7aa31544d63c08b97a4c9b329c2e33d97d17d977.zip FreeBSD-src-7aa31544d63c08b97a4c9b329c2e33d97d17d977.tar.gz |
Add support for DEBUG_FLAGS. If you say something like:
make DEBUG_FLAGS=-g2
You can compile something for debugging at debugging level 2.
It will also take care not to strip the resulting executable(s).
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r-- | share/mk/bsd.own.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index dc17f18..e6ea911 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,10 +1,12 @@ -# $Id: bsd.own.mk,v 1.5 1994/03/19 22:02:35 jkh Exp $ +# $Id: bsd.own.mk,v 1.1 1994/08/04 21:10:08 wollman Exp $ BINGRP?= bin BINOWN?= bin BINMODE?= 555 +.if !defined(DEBUG_FLAGS) STRIP?= -s +.endif COPY?= -c |