From 6ee9221f3347709ecda2b305bd76e0d8c9818fb8 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 2 Jun 2021 11:39:35 +0200 Subject: [PATCH] Fix Makefile.am --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7abdbe5..773a8d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,19 +81,19 @@ tests_test_c_LDFLAGS = -no-install test_trexio_f = $(srcdir)/tests/trexio_f.f90 -tests_test_f_SOURCES = $(trexio_h) $(test_trexio_f) +tests_test_f_SOURCES = $(trexio_f) $(test_trexio_f) tests_test_f_LDADD = src/libtrexio.la tests_test_f_LDFLAGS = -no-install +$(test_trexio_f): $(trexio_f) + cp $(trexio_f) $(test_trexio_f) + if TREXIO_DEVEL CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h) BUILT_SOURCES = $(SOURCES) $(trexio_f) $(trexio_h) -$(test_trexio_f): $(trexio_f) - cp $(trexio_f) $(test_trexio_f) - src/trexio.c: $(trexio_h) $(trexio_h): $(ORG_FILES)