Skip to content

Commit

Permalink
now generating F90 files from .in files with genf90.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 17, 2019
1 parent 62b859f commit 643234f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/flib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,7 @@ libpio_la_SOURCES = pio.F90

# These F90 files are generated from .F90.in files, using the script
# genf90.pl.
pionfatt_mod.F90: ${top_srcdir}/src/flib/pionfatt_mod.F90.in
${top_srcdir}/scripts/genf90.pl $< > $@

piodarray.F90: piodarray.F90.in
${top_srcdir}/scripts/genf90.pl $< > $@

pionfget_mod.F90: pionfget_mod.F90.in
${top_srcdir}/scripts/genf90.pl $< > $@

pionfput_mod.F90: pionfput_mod.F90.in
%.F90: %.in
${top_srcdir}/scripts/genf90.pl $< > $@

# Each mod file depends on the .o file.
Expand All @@ -75,7 +66,8 @@ piolib_mod.mod pio.mod
BUILT_SOURCES = $(MODFILES)
include_HEADERS = $(MODFILES)

CLEANFILES = *.mod
CLEANFILES = *.mod piodarray.F90 pionfatt_mod.F90 pionfget_mod.F90 \
pionfput_mod.F90

EXTRA_DIST = CMakeLists.txt piodarray.F90.in pionfatt_mod.F90.in \
pionfget_mod.F90.in pionfput_mod.F90.in

0 comments on commit 643234f

Please sign in to comment.