Makefile revision 228698
195887Sjmallett# $OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $ 295060Sjmallett# $FreeBSD: head/usr.bin/m4/Makefile 228698 2011-12-18 23:54:32Z dim $ 31590Srgrimes 495060Sjmallett# -DEXTENDED 51590Srgrimes# if you want the paste & spaste macros. 61590Srgrimes 71590SrgrimesPROG= m4 8228063SbaptCFLAGS+=-DEXTENDED -I${.CURDIR}/lib 9228698SdimLDADD= -ly -ll -lm 10228063Sbapt# clang needs 1 while with gcc we can use 2 11228063Sbapt#WARNS= 1 121590Srgrimes 13228063SbaptSRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l 14228063Sbapt.PATH: ${.CURDIR}/lib 15228063SbaptSRCS+= ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \ 16228063Sbapt ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \ 17228063Sbapt ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \ 18228063Sbapt ohash_qlookupi.c 1995060Sjmallett 20228063Sbapttokenizer.o: parser.h 21228063Sbapt 22228063SbaptCLEANFILES+= parser.c parser.h tokenizer.o 23228063Sbapt 241590Srgrimes.include <bsd.prog.mk> 25