source: CMT/v1r12p20020606/src/lex.make @ 1

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

Import all tags

File size: 330 bytes
Line 
1package=
2lexflags=
3lex=lex $(lexflags)
4
5$(src)$(package)Lex.c : $(src)$(package)Lex.l
6        @cd $(src); $(lex) $(package)Lex.l; \
7        sed 's/yy/$(package)YY/g' lex.yy.c  | \
8        sed 's/ = {stdin}//' | \
9        sed 's/ = {stdout}//'> lex.yy.c.tmp; \
10        ${CMTROOT}/mgr/cmt check_files lex.yy.c.tmp $(package)Lex.c; \
11        /bin/rm -f lex.yy.c
12
Note: See TracBrowser for help on using the repository browser.