#-- start of lex_library ------

$(bin)$(binobj)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies)
	$(lex_echo) $@
	$(lex_silent) cd $(src); \
	  $(lex) ${FILENAME}; \
	  sed -e 's/yy/${NAME}YY/g' \
	      -e 's/LexYY/YY/g' \
	      -e 's/ = {stdin}//' \
	      -e 's/ = {stdout}//' lex.yy.c > lex.yy.c.tmp; \
	  $(cmtexe) check_files lex.yy.c.tmp ${NAME}.c; /bin/rm -f lex.yy.c
	$(lex_silent) cd $(bin); $(ccomp) -o $(binobj)${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

#-- end of lex_library ------
