Rev | Line | |
---|
[1] | 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 | |
---|
| 7 | package= |
---|
| 8 | yaccflags=-d |
---|
| 9 | yacc=yacc $(yaccflags) |
---|
| 10 | |
---|
| 11 | $(src)$(package)Parse.c : $(src)$(package)Parse.y |
---|
| 12 | @cd $(src); $(yacc) $(package)Parse.y; \ |
---|
| 13 | sed 's/yy/$(package)YY/g' y.tab.c > y.tab.c.tmp; \ |
---|
| 14 | ${CMTROOT}/mgr/cmt check_files y.tab.c.tmp $(package)Parse.c; \ |
---|
| 15 | sed 's/yy/$(package)YY/g' y.tab.h > y.tab.h.tmp; \ |
---|
| 16 | ${CMTROOT}/mgr/cmt check_files y.tab.h.tmp $(package)Parse.h; \ |
---|
| 17 | /bin/rm -f y.tab.[ch] |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.