1 # $OpenBSD: Makefile,v 1.13 2014/05/12 19:11:19 espie Exp $
4 # if you want the paste & spaste macros.
9 CFLAGS+=-DEXTENDED -I${.CURDIR} -I${SRCTOP}/lib/libopenbsd
12 NO_WMISSING_VARIABLE_DECLARATIONS=
14 SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y
15 .if target(bootstrap_m4_tokenizer)
16 # When crossbuilding on non-FreeBSD we need to first build m4 with pre-generated
17 # tokenizer files and the build the real m4 once we have lex+yacc.
23 GENFILES= tokenizer.c parser.c parser.h
28 CLEANFILES+= parser.c parser.h tokenizer.o tokenizer.c
31 SUBDIR.${MK_TESTS}+= tests
33 .include <bsd.prog.mk>