Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/indent indent: make it easy to compile indent in deb...



details:   https://anonhg.NetBSD.org/src/rev/bd806a55e572
branches:  trunk
changeset: 960122:bd806a55e572
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Mar 08 19:21:41 2021 +0000

description:
indent: make it easy to compile indent in debug mode

diffstat:

 usr.bin/indent/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r e85bbf7454e4 -r bd806a55e572 usr.bin/indent/Makefile
--- a/usr.bin/indent/Makefile   Mon Mar 08 19:06:48 2021 +0000
+++ b/usr.bin/indent/Makefile   Mon Mar 08 19:21:41 2021 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.8 2021/03/07 10:56:18 rillig Exp $
+#      $NetBSD: Makefile,v 1.9 2021/03/08 19:21:41 rillig Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/6/93
 
 PROG=  indent
 SRCS=  indent.c io.c lexi.c parse.c pr_comment.c args.c
 
 COPTS.io.c += -Wno-error=format-nonliteral
+CPPFLAGS+=     ${DEBUG:D-Ddebug}
 
 LINTFLAGS+=    -e
 



Home | Main Index | Thread Index | Old Index