Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/stand/ahdilabel Make it easier to build with ...



details:   https://anonhg.NetBSD.org/src/rev/d279fc353f9b
branches:  trunk
changeset: 504217:d279fc353f9b
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Feb 25 14:31:53 2001 +0000

description:
Make it easier to build with -DDEBUG.

diffstat:

 sys/arch/atari/stand/ahdilabel/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6dcb3c77bb95 -r d279fc353f9b sys/arch/atari/stand/ahdilabel/Makefile
--- a/sys/arch/atari/stand/ahdilabel/Makefile   Sun Feb 25 13:51:11 2001 +0000
+++ b/sys/arch/atari/stand/ahdilabel/Makefile   Sun Feb 25 14:31:53 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2000/08/22 14:26:04 leo Exp $
+#      $NetBSD: Makefile,v 1.3 2001/02/25 14:31:53 jdc Exp $
 
 PROG=  ahdilabel
 SRCS=  ahdilabel.c build.c check.c cksum.c magic.c openraw.c read.c write.c \
@@ -10,5 +10,8 @@
 
 WARNS= 1
 
+.if defined(DEBUG)
 CFLAGS += -g
+CPPFLAGS+=-DDEBUG
+.endif
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index