1bd2bfb58SJuli Mallett# $OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 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 79b50d902SRodney W. GrimesPROG= m4 8*6f1a6427SAndreas ToblerCFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/lib 9c48f7f68SDimitry AndricLDADD= -ly -ll -lm 10a841e1ebSBaptiste Daroussin# clang needs 1 while with gcc we can use 2 11a841e1ebSBaptiste Daroussin#WARNS= 1 12acc9d408SJuli Mallett 13a841e1ebSBaptiste DaroussinSRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l 14a841e1ebSBaptiste Daroussin.PATH: ${.CURDIR}/lib 15a841e1ebSBaptiste DaroussinSRCS+= ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \ 16a841e1ebSBaptiste Daroussin ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \ 17a841e1ebSBaptiste Daroussin ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \ 18a841e1ebSBaptiste Daroussin ohash_qlookupi.c 19a841e1ebSBaptiste Daroussin 20a841e1ebSBaptiste Daroussintokenizer.o: parser.h 21a841e1ebSBaptiste Daroussin 22a841e1ebSBaptiste DaroussinCLEANFILES+= parser.c parser.h tokenizer.o 239b50d902SRodney W. Grimes 249b50d902SRodney W. Grimes.include <bsd.prog.mk> 25