188497f0cSBaptiste Daroussin# $OpenBSD: Makefile,v 1.13 2014/05/12 19:11:19 espie Exp $ 2acc9d408SJuli Mallett# $FreeBSD$ 39b50d902SRodney W. Grimes 49b50d902SRodney W. Grimes# -DEXTENDED 59b50d902SRodney W. Grimes# if you want the paste & spaste macros. 69b50d902SRodney W. Grimes 7c6063d0dSWarner Losh.include <src.opts.mk> 83a92d97fSJulio Merino 99b50d902SRodney W. GrimesPROG= m4 10e806d508SBaptiste DaroussinCFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/../../lib/libohash 11e806d508SBaptiste DaroussinDPADD= ${LIBY} ${LIBL} ${LIBM} ${LIBOHASH} 12e806d508SBaptiste DaroussinLDADD= -ly -ll -lm ${LDOHASH} 137e659f94SEd Schouten 147e659f94SEd SchoutenNO_WMISSING_VARIABLE_DECLARATIONS= 15acc9d408SJuli Mallett 16a841e1ebSBaptiste DaroussinSRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l 17a841e1ebSBaptiste Daroussin 18*d5777986SBaptiste DaroussinWARNS= 3 19*d5777986SBaptiste Daroussin 20a841e1ebSBaptiste Daroussintokenizer.o: parser.h 21a841e1ebSBaptiste Daroussin 22a841e1ebSBaptiste DaroussinCLEANFILES+= parser.c parser.h tokenizer.o 239b50d902SRodney W. Grimes 243a92d97fSJulio Merino.if ${MK_TESTS} != "no" 253a92d97fSJulio MerinoSUBDIR+= tests 263a92d97fSJulio Merino.endif 273a92d97fSJulio Merino 289b50d902SRodney W. Grimes.include <bsd.prog.mk> 29