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 vendors/AGRIF/CMEMS_2020/LEX – NEMO

source: vendors/AGRIF/CMEMS_2020/LEX/Makefile.lex @ 10087

Last change on this file since 10087 was 9140, checked in by nicolasmartin, 6 years ago

MIME type for few files in ./EXTERNAL/AGRIF

  • Property svn:mime-type set to text/x-makefile
File size: 799 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 > ../LIB/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 > ../LIB/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) ../LIB/main.c ../LIB/fortran.c
Note: See TracBrowser for help on using the repository browser.