PREFIX := GHC := $(PREFIX)ghc -package QuickCheck-2.1.0.1 HPC := $(PREFIX)hpc ODIR := out HSSRC := *.hs SRC := ../src MAIN := Main .DEFAULT_GOAL := coverage compile: $(HSSRC) find . -name '*.tix' | xargs rm $(GHC) -i$(SRC) -odir $(ODIR) -fhpc $(MAIN) --make run: compile ./$(MAIN) coverage: run $(HPC) markup $(MAIN) clean: find . -name '*.hi' | xargs rm find . -name '*.o' | xargs rm find $(SRC) -name '*.hi' | xargs rm find $(SRC) -name '*.o' | xargs rm rm -rf $(ODIR) rm -f $(MAIN) find . -name '*.html' | xargs rm find . -name '*.tix' | xargs rm rm -rf .hpc/