New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Makefile.lex in branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/EXTERNAL/AGRIF/LIB – NEMO

source: branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/EXTERNAL/AGRIF/LIB/Makefile.lex @ 4779

Last change on this file since 4779 was 4779, checked in by rblod, 10 years ago

Update AGRIF internal routines and conv on branch dev_r4765_CNRS_agrif

  • Property svn:keywords set to Id
File size: 785 bytes
Line 
1LEX      = flex -i
2YACC  = bison -t -v -g
3
4all: main.c fortran.c
5YACC = bison
6
7main.c : convert.tab.c convert.yy.c
8   cat   convert.tab.c convert.yy.c > main.c
9   $(RM) convert.tab.c convert.yy.c
10
11fortran.c : fortran.tab.c fortran.yy.c
12   cat   fortran.tab.c fortran.yy.c > fortran.c
13   $(RM) fortran.tab.c fortran.yy.c
14
15convert.tab.c : convert.y decl.h
16   $(YACC) -p convert_ convert.y
17
18fortran.tab.c : fortran.y decl.h
19   $(YACC) -p fortran_ fortran.y
20
21convert.yy.c : convert.lex
22   $(LEX) -P convert_ -o convert.yy.c convert.lex
23
24fortran.yy.c : fortran.lex
25   $(LEX) -P fortran_ -o fortran.yy.c fortran.lex
26
27clean:
28   $(RM) convert.yy.c convert.tab.c convert.output convert.vcg convert.dot \
29        fortran.yy.c fortran.tab.c fortran.output fortran.vcg fortran.dot
30
31clean-all: clean
32   $(RM) main.c fortran.c
Note: See TracBrowser for help on using the repository browser.