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 10*a35f04fbSWarner LoshCFLAGS+=-DEXTENDED -I${.CURDIR} -I${SRCTOP}/lib/libopenbsd 11a36eca08SCraig RodriguesLIBADD= y l m openbsd 127e659f94SEd Schouten 137e659f94SEd SchoutenNO_WMISSING_VARIABLE_DECLARATIONS= 14acc9d408SJuli Mallett 15a841e1ebSBaptiste DaroussinSRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l 16a841e1ebSBaptiste Daroussin 17d5777986SBaptiste DaroussinWARNS= 3 18d5777986SBaptiste Daroussin 19a841e1ebSBaptiste Daroussintokenizer.o: parser.h 20a841e1ebSBaptiste Daroussin 21a841e1ebSBaptiste DaroussinCLEANFILES+= parser.c parser.h tokenizer.o 229b50d902SRodney W. Grimes 233a92d97fSJulio Merino.if ${MK_TESTS} != "no" 243a92d97fSJulio MerinoSUBDIR+= tests 253a92d97fSJulio Merino.endif 263a92d97fSJulio Merino 279b50d902SRodney W. Grimes.include <bsd.prog.mk> 28