1# $OpenBSD: Makefile,v 1.13 2014/05/12 19:11:19 espie Exp $ 2# $FreeBSD$ 3 4# -DEXTENDED 5# if you want the paste & spaste macros. 6 7.include <src.opts.mk> 8 9PROG= m4 10CFLAGS+=-DEXTENDED -I${.CURDIR} -I${SRCTOP}/lib/libopenbsd 11LIBADD= m openbsd 12 13NO_WMISSING_VARIABLE_DECLARATIONS= 14 15SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l 16 17WARNS= 3 18 19tokenizer.o: parser.h 20 21CLEANFILES+= parser.c parser.h tokenizer.o 22 23HAS_TESTS= 24SUBDIR.${MK_TESTS}+= tests 25 26.include <bsd.prog.mk> 27