include: reduce default stack size
[minix.git] / tools / lex / Makefile
blobf84180e7cc176d2412376e7d6c1f1eab90a5e19a
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_CPPFLAGS+=-D_NETBSD_SOURCE -D_POSIX_SOURCE -D_COMPAT_MINIX
8 HOST_LDFLAGS+= -static
9 .endif
11 .include "${.CURDIR}/../Makefile.host"
12 HOST_CPPFLAGS+= -DM4=\"${TOOL_M4}\"
14 .y.c .l.c .y.h:
15 @true
17 scan.c:
18 echo '#include <initscan.c>' >$@
19 parse.c:
20 echo '#include <initparse.c>' >$@
21 parse.h:
22 echo '#include <initparse.h>' >$@
24 scan.c: parse.h
26 CLEANFILES+=scan.c parse.c parse.h