Makefile 667 B

12345678910111213141516171819202122232425262728293031323334
  1. # Andreas, 2020-02-15
  2. #
  3. TOP=../../
  4. include $(TOP)/mk/paths.mk
  5. include $(TOP)/mk/ghc.mk
  6. .PHONY : default imp-%
  7. default: imp-300
  8. # Benchmark nested imports with one data decl
  9. imp-% : import-%
  10. time $(AGDA_BIN) +RTS -s -RTS --profile=all --ignore-interfaces -i $< $</Main.agda
  11. import-% :
  12. $(RUNGHC) QuadraticImportOneData.hs $@ $*
  13. imp0-% : import0-%
  14. time $(AGDA_BIN) +RTS -s -RTS --profile=all --ignore-interfaces -i $< $</Main.agda
  15. import0-% :
  16. $(RUNGHC) QuadraticImportOneDataNoUsing.hs $@ $*
  17. hs-imp-% : hs-import-%
  18. -rm $</*.hi $</*.o $</Main
  19. time $(GHC) +RTS -s -RTS -i$< $</Main.hs
  20. hs-import-% :
  21. $(RUNGHC) QuadraticImportOneDataHaskell.hs $@ $*
  22. # EOF