Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tools / lex / Makefile
blob08df7227ddf1adfa36799e8d0c12664794e1e10f
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 .if ${HOST_OSTYPE:C/\-.*//} == "Minix"
7 HOST_LDFLAGS+= -static
8 .endif
10 .include "${.CURDIR}/../Makefile.host"
11 HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\"
13 .y.c .l.c .y.h:
14 @true
16 scan.c:
17 echo '#include <initscan.c>' >$@
18 parse.c:
19 echo '#include <initparse.c>' >$@
20 parse.h:
21 echo '#include <initparse.h>' >$@
23 scan.c: parse.h
25 CLEANFILES+=scan.c parse.c parse.h