Blob


1 PROG = template
2 SRCS = template.c parse.y
4 # XXX
5 NOMAN = Yes
8 # debug
9 CFLAGS += -O0 -g3
11 CFLAGS += -I${.CURDIR}
13 WARNINGS = yes
15 CDIAGFLAGS = -Wall -Wextra -Wpointer-arith -Wuninitialized
16 CDIAGFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -Wunused
17 CDIAGFLAGS+= -Wsign-compare -Wshadow -Wno-unused-parameter
18 CDIAGFLAGS+= -Wno-missing-field-initializers
19 CDIAGFLAGS+= -Werror
21 .if make(regress) || make(clean)
22 SUBDIR = regress
23 .endif
25 .include <bsd.prog.mk>