source: CMT/v1r16p20040901/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: 600 bytes
Line 
1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
4# See the complete license in cmt_license.txt "http://www.cecill.info".
5#-----------------------------------------------------------
6
7package=
8lexflags=
9lex=lex $(lexflags)
10
11$(src)$(package)Lex.c : $(src)$(package)Lex.l
12        @cd $(src); $(lex) $(package)Lex.l; \
13        sed 's/yy/$(package)YY/g' lex.yy.c  | \
14        sed 's/ = {stdin}//' | \
15        sed 's/ = {stdout}//'> lex.yy.c.tmp; \
16        ${CMTROOT}/mgr/cmt check_files lex.yy.c.tmp $(package)Lex.c; \
17        /bin/rm -f lex.yy.c
18
Note: See TracBrowser for help on using the repository browser.