Move primary cache code to libminixfs.
[minix.git] / tools / lex / Makefile
blobe0e9f27ba5bd5379a3eecaf6413780498444daa6
1 # $NetBSD: Makefile,v 1.9 2009/10/30 00:30:20 christos Exp $
3 HOSTPROGNAME= ${_TOOL_PREFIX}lex
4 HOST_SRCDIR= external/bsd/flex/bin
6 .include "${.CURDIR}/../Makefile.host"
7 HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\"
9 .y.c .l.c .y.h:
10 @true
12 scan.c:
13 echo '#include <initscan.c>' >$@
14 parse.c:
15 echo '#include <initparse.c>' >$@
16 parse.h:
17 echo '#include <initparse.h>' >$@
19 scan.c: parse.h
21 CLEANFILES+=scan.c parse.c parse.h