Skip to content
Snippets Groups Projects
Commit 146f62c4 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Fix consecutive calls to make.

* The second call should do nothing.
parent eed9243b
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!16Remove Fortran interface files from the repo
......@@ -286,22 +286,20 @@ endif
endif
if MAINTAINER_MODE
cdiFortran.c: cdi.h make_fint.c
cdi.inc: cdi.h make_fint.c
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) make_fint
$(AM_V_GEN)$(top_builddir)/libtool --mode=execute ./make_fint -o $(@D) $<
cdi.inc: cdiFortran.c
cdiFortran.c: cdi.inc
$(AM_V_at)test -f $@ || rm -f $<
$(AM_V_at)test -f $@ || $(MAKE) $(AM_MAKEFLAGS) $<
cdipioFortran.c: cdipio.h make_fint.c
cdipio.inc: cdipio.h make_fint.c cdi.inc
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) make_fint
$(AM_V_GEN)$(top_builddir)/libtool --mode=execute ./make_fint -o $(@D) $<
cdipio.inc: cdipioFortran.c
cdipioFortran.c: cdipio.inc
$(AM_V_at)test -f $@ || rm -f $<
$(AM_V_at)test -f $@ || $(MAKE) $(AM_MAKEFLAGS) $<
cdipioFortran.c: cdiFortran.c
mo_cdi.f90: cdi.h $(top_srcdir)/interfaces/f2003/bindGen.rb
$(AM_V_GEN)$(RUBY) $(top_srcdir)/interfaces/f2003/bindGen.rb $< $@
else !MAINTAINER_MODE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment