source: CMT/v1r16p20040901/fragments/lex_library @ 1

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

Import all tags

File size: 754 bytes
Line 
1#-- start of lex_library ------
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) $(lib_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(lib_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
13
14
15
16
17#-- end of lex_library ------
Note: See TracBrowser for help on using the repository browser.