commit fb965ae346c09480977cfb41583f9e63414f69e0 parent c2c9317fcf99e8469028f3e369f91c86e8bd1195 Author: Drew DeVault <sir@cmpwn.com> Date: Thu, 8 Jul 2021 12:35:02 -0400 Makefile: add 'clean' target Diffstat:
M | Makefile | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -8,3 +8,8 @@ all: $(OUTDIR)/cat $(OUTDIR)/cat: cmd/cat.ha main/main.ha @mkdir -p $(OUTDIR) $(HARE) build -o $@ $< + +clean: + rm -rf $(OUTDIR) + +.PHONY: all clean