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/08e604bffff1
branches:  trunk
changeset: 953422:08e604bffff1
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 e95573045fad -r 08e604bffff1 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