aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-06-16 03:38:44 +0900
committernsfisis <nsfisis@gmail.com>2021-06-16 03:38:44 +0900
commitabdb628d4a44f9896adaa888d5fcaf813735203a (patch)
tree137be2266f65b482bb45f4bf5114c639e03d5ab7
parentcf0248fa04ffbd181051436b82465e3db69feb48 (diff)
download2048.c-abdb628d4a44f9896adaa888d5fcaf813735203a.tar.gz
2048.c-abdb628d4a44f9896adaa888d5fcaf813735203a.tar.zst
2048.c-abdb628d4a44f9896adaa888d5fcaf813735203a.zip
add clean target
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5189178..6b1da2e 100644
--- a/Makefile
+++ b/Makefile
@@ -15,4 +15,7 @@ $(PROGRAM): 2048$(SUFFIX).c
$(DIST):
@mkdir $@
-.PHONY: all run build
+clean:
+ @rm -rf $(DIST)
+
+.PHONY: all run build clean