Skip to content

Commit

Permalink
Cleanup makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Nov 15, 2023
1 parent cafac3b commit 0ea5dc1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $(error Unknown OS)
endif


all: $(LIBS) $(GZ) kinds
all: $(LIBS) $(GZ)


%.$(LIB_SUFFIX): %.f90
Expand All @@ -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

0 comments on commit 0ea5dc1

Please sign in to comment.