1 # $NetBSD: Makefile,v 1.8 2009/10/29 17:16:40 christos Exp $ 2 3 HOSTPROGNAME= ${_TOOL_PREFIX}lex 4 HOST_SRCDIR= external/bsd/flex/bin 5 6 .include "${.CURDIR}/../Makefile.host" 7 HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\" 8 9 scan.c: 10 echo '#include <initscan.c>' >$@ 11 parse.c: 12 echo '#include <initparse.c>' >$@ 13 parse.h: 14 echo '#include <initparse.h>' >$@ 15 16 scan.c: parse.h 17 18 CLEANFILES+=scan.c parse.c parse.h 19