summaryrefslogtreecommitdiff
path: root/usr.bin/asn1_compile/Makefile
blob: ce1e2acb7640dd1c4cd7ca8f867de75876eeee95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $OpenBSD: Makefile,v 1.1 2003/05/11 21:36:33 hin Exp $

PROG=	asn1_compile
NOMAN=
SRCS=	parse.c lex.l main.c hash.c symbol.c gen.c \
        gen_encode.c gen_decode.c gen_free.c gen_length.c gen_copy.c \
        gen_glue.c getarg.c

CFLAGS+=-I. -DFALSE=0 -DTRUE=1

CLEANFILES=	parse.[ch] lex.c

parse.h parse.c:	parse.y
	${YACC} -d -o parse.c ${.ALLSRC}

.include <bsd.prog.mk>