Generate skel.c at build time.

This commit is contained in:
Dmitrij Tejblum 1999-11-20 15:41:43 +00:00
parent 5ab0514321
commit d5a53b4fe6
2 changed files with 4 additions and 1550 deletions

View File

@ -23,12 +23,15 @@ MLINKS+= lex.1 flex.1
MLINKS+= lex.1 flex++.1
MLINKS+= lex.1 lex++.1
CLEANFILES= scan.c
CLEANFILES= scan.c skel.c
.if !defined(NOLIB)
SUBDIR= lib
.endif
skel.c: mkskel.sh flex.skl
sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 \
${.CURDIR}/FlexLexer.h ${DESTDIR}/usr/include/g++

File diff suppressed because it is too large Load Diff