From f298b135372eccec6b95a5120e6757e5896e85e1 Mon Sep 17 00:00:00 2001 From: germax26 Date: Wed, 4 Dec 2024 17:21:12 +1100 Subject: [PATCH] Update Makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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