aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-09-16 14:30:25 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-09-16 14:30:25 +0000
commite82b0b99c16e8b0ab90e40a59c94723a16c04282 (patch)
treea12ad3c3e705a4ec43a69b9e00f35a66b65f4ad6 /share/mk/bsd.own.mk
parentdf9ab3049d40eb3ab4e15db20d6e796d11240e23 (diff)
downloadsrc-e82b0b99c16e8b0ab90e40a59c94723a16c04282.tar.gz
src-e82b0b99c16e8b0ab90e40a59c94723a16c04282.zip
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).
Notes
Notes: svn path=/head/; revision=2827
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index dc17f18f6785..e6ea911b44f9 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