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.subdir.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.subdir.mk')
-rw-r--r-- | share/mk/bsd.subdir.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index 68d9c38..b712afe 100644 --- a/share/mk/bsd.subdir.mk +++ b/share/mk/bsd.subdir.mk @@ -1,9 +1,11 @@ # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 -# $Id: bsd.subdir.mk,v 1.2 1994/08/04 21:09:26 wollman Exp $ +# $Id: bsd.subdir.mk,v 1.3 1994/08/28 15:35:30 bde Exp $ .MAIN: all +.if !defined(DEBUG_FLAGS) STRIP?= -s +.endif BINGRP?= bin BINOWN?= bin |