aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebastian@sebsite.pw>2022-04-21 15:57:14 -0400
committerDrew DeVault <sir@cmpwn.com>2022-04-23 11:08:26 +0200
commit7e5c81258e2bfe540c1c51decbab6211f3361296 (patch)
tree7457b27f96586dd3328d16197bc4135768b8a0e5
parentMakefile: add docs target (diff)
downloadhare-chip8-7e5c81258e2bfe540c1c51decbab6211f3361296.tar.gz
Makefile: add clean target
Signed-off-by: Sebastian <sebastian@sebsite.pw>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 762ebfa..5f44fee 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ demo:
run:
hare run $(LIBS) cmd/demo
+clean:
+ rm -rf docs demo
+
docs:
mkdir -p docs/sdl2/image
haredoc -Fhtml sdl2 > docs/sdl2/index.html
@@ -16,4 +19,4 @@ docs:
mkdir -p docs/sdl2/mixer
haredoc -Fhtml sdl2::mixer > docs/sdl2/mixer/index.html
-.PHONY: demo docs run
+.PHONY: clean demo docs run