From 0ea5dc10d5ae86e0f250dce7310f0898642316ec Mon Sep 17 00:00:00 2001 From: Robert Farmer Date: Wed, 15 Nov 2023 16:12:27 +0000 Subject: [PATCH] Cleanup makefile --- tests/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 8b5f99a..0ffff88 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -29,7 +29,7 @@ $(error Unknown OS) endif -all: $(LIBS) $(GZ) kinds +all: $(LIBS) $(GZ) %.$(LIB_SUFFIX): %.f90 @@ -40,16 +40,8 @@ all: $(LIBS) $(GZ) kinds @gunzip -f $@ -c > $@.extract @rm $@ -%.o : %.mod - -%.mod : %.o - @true - -%.o : %.f90 +%.o %.mod %.smod: %.f90 $(FC) $(OPTIONS) $(LIB_FLAGS) -o $@ $< -kinds: kinds_check.o - $(FC) -o kinds kinds_check.f90 - clean: -rm -f *.o *.mod *.gz *.pyc *.f90.*.* *.$(LIB_SUFFIX) *.original *.extract *.smod *.fpy