Skip to content

Commit

Permalink
Simplify test makefile (fortran-lang#349)
Browse files Browse the repository at this point in the history
- use a single target for all, test and clean
  • Loading branch information
awvwgk authored Apr 9, 2021
1 parent bc37bcc commit 928bb28
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions src/tests/Makefile.manual
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
.PHONY: all clean test

all:
$(MAKE) -f Makefile.manual --directory=ascii
$(MAKE) -f Makefile.manual --directory=bitsets
$(MAKE) -f Makefile.manual --directory=io
$(MAKE) -f Makefile.manual --directory=logger
$(MAKE) -f Makefile.manual --directory=optval
$(MAKE) -f Makefile.manual --directory=quadrature
$(MAKE) -f Makefile.manual --directory=stats
$(MAKE) -f Makefile.manual --directory=string

test:
$(MAKE) -f Makefile.manual --directory=ascii test
$(MAKE) -f Makefile.manual --directory=bitsets test
$(MAKE) -f Makefile.manual --directory=io test
$(MAKE) -f Makefile.manual --directory=logger test
$(MAKE) -f Makefile.manual --directory=optval test
$(MAKE) -f Makefile.manual --directory=quadrature test
$(MAKE) -f Makefile.manual --directory=stats test
$(MAKE) -f Makefile.manual --directory=string test

clean:
$(MAKE) -f Makefile.manual --directory=ascii clean
$(MAKE) -f Makefile.manual --directory=bitsets clean
$(MAKE) -f Makefile.manual --directory=io clean
$(MAKE) -f Makefile.manual --directory=logger clean
$(MAKE) -f Makefile.manual --directory=optval clean
$(MAKE) -f Makefile.manual --directory=stats clean
$(MAKE) -f Makefile.manual --directory=string clean
all test clean:
$(MAKE) -f Makefile.manual --directory=ascii $@
$(MAKE) -f Makefile.manual --directory=bitsets $@
$(MAKE) -f Makefile.manual --directory=io $@
$(MAKE) -f Makefile.manual --directory=logger $@
$(MAKE) -f Makefile.manual --directory=optval $@
$(MAKE) -f Makefile.manual --directory=quadrature $@
$(MAKE) -f Makefile.manual --directory=stats $@
$(MAKE) -f Makefile.manual --directory=string $@

0 comments on commit 928bb28

Please sign in to comment.