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 @ 4785

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

dev_r4765_CNRS_agrif: First update of AGRIF for dynamic only (_flt and _ts), see ticket #1380 and associated wiki page

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