Suggest that DEBUG_FLAGS be used to enable extra debugging rather than

frobbing CFLAGS directly.  DEBUG_FLAGS is something that can be specified
on the make command line without having to edit the Makefile directly.

Submitted by:	Garrett Cooper
This commit is contained in:
John Baldwin 2010-10-13 13:17:38 +00:00
parent 1d90e6b224
commit f12f3dbeee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213774

View File

@ -21,7 +21,7 @@ LDADD= -ll -ledit -ltermcap
LFLAGS= -8 # 8-bit lex scanner for arithmetic
CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
# CFLAGS+= -g -DDEBUG=3
# DEBUG_FLAGS+= -g -DDEBUG=3
WARNS?= 2
WFORMAT=0