Sync usage with man page.
[netbsd-mini2440.git] / tools / m4 / Makefile
blobad05eaa072ecadfcac225c923c081fdd453909da
1 # $NetBSD: Makefile,v 1.4 2009/10/27 18:35:09 christos Exp $
3 HOSTPROGNAME= ${_TOOL_PREFIX}m4
4 HOST_SRCDIR= usr.bin/m4
5 HOST_CPPFLAGS+= -I.
7 .include "${.CURDIR}/../Makefile.host"
9 # Don't build any of those; we don't have lex and yacc available yet
10 .y.c .y.h .l.c:
11 @true
13 parser.c: ${.CURDIR}/bootstrap/parser.c
14 @ln -sf ${.ALLSRC:M*.c} $@
15 parser.h: ${.CURDIR}/bootstrap/parser.h
16 @ln -sf ${.ALLSRC:M*.h} $@
17 tokenizer.c: ${.CURDIR}/bootstrap/tokenizer.c
18 @ln -sf ${.ALLSRC:M*.c} $@