source: CMT/v1r18p20041201/mgr/fragments/lex @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 726 bytes
Line 
1#-- start of lex ------
2
3$(bin)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies)
4        $(lex_echo) $@
5        $(lex_silent) cd $(src); \
6         $(lex) ${FILENAME}; \
7         sed -e 's/yy/${NAME}YY/g' \
8             -e 's/LexYY/YY/g' \
9             -e 's/ = {stdin}//' \
10             -e 's/ = {stdout}//' lex.yy.c > lex.yy.c.tmp; \
11         $(cmtexe) check_files lex.yy.c.tmp ${NAME}.c; /bin/rm -f lex.yy.c
12        $(lex_silent) cd $(bin); $(ccomp) -o ${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(app_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(app_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
13
14#-- end of lex ------
Note: See TracBrowser for help on using the repository browser.