source: CMT/v1r10p20011126/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: 690 bytes
Line 
1
2$(bin)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies)
3        $(lex_echo) $@
4        $(lex_silent) cd $(src); \
5          $(lex) ${FILENAME}; \
6          sed -e 's/yy/${NAME}YY/g' \
7              -e 's/LexYY/YY/g' \
8              -e 's/ = {stdin}//' \
9              -e 's/ = {stdout}//' lex.yy.c > lex.yy.c.tmp; \
10          $(cmtexe) check_files lex.yy.c.tmp ${NAME}.c; /bin/rm -f lex.yy.c
11        $(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
12
13
14
15
Note: See TracBrowser for help on using the repository browser.