diff --git a/Makefile b/Makefile index 5f24696..476e0fb 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,14 @@ HS_SRCS = $(shell find . -name 'day*.hs') HS_TARGETS = $(HS_SRCS:.hs=) +HI_TARGETS = $(HS_SRCS:.hs=.hi) +O_TARGETS = $(HS_SRCS:.hs=.o) all: $(HS_TARGETS) %: %.hs ghc $< -clean: $(HS_TARGETS) - rm -rf $(HS_TARGETS) +clean: + rm -rf $(HS_TARGETS) $(HI_TARGETS) $(O_TARGETS) .PHONY: all clean \ No newline at end of file