Cross Reference: Makefile
xref: /src/tools/lex/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/lex/
11.12Schristos#	$NetBSD: Makefile,v 1.12 2018/08/23 06:21:37 christos Exp $
21.1Stv
31.4SthorpejHOSTPROGNAME=	${_TOOL_PREFIX}lex
41.7SchristosHOST_SRCDIR=	external/bsd/flex/bin
51.1Stv
61.1Stv.include "${.CURDIR}/../Makefile.host"
71.7SchristosHOST_CPPFLAGS+=	-DM4=\"${TOOL_M4}\"
81.1Stv
91.9Schristos.y.c .l.c .y.h:
101.9Schristos	@true
111.9Schristos
121.10Schristos
131.10Schristos__BUILD: .USE
141.11Schristos	(echo '#include "nbtool_config.h"'; \
151.11Schristos	echo "#include <init${.TARGET}>") > ${.TARGET}
161.10Schristos
171.10Schristosscan.c: __BUILD
181.10Schristosparse.c: __BUILD
191.10Schristosparse.h: __BUILD
201.8Schristos
211.8Schristosscan.c: parse.h
221.12Schristosparse.h: Makefile
231.8Schristos
241.8SchristosCLEANFILES+=scan.c parse.c parse.h
25

Indexes created Wed Dec 03 09:09:31 GMT 2025