aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-02-17 23:35:19 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-02-20 12:41:01 +0100
commit382eb4f287d76978ced682efafaf64aab9ee438a (patch)
tree646c7834a830d91aa9d8168677ce59fa010045bf /Makefile
downloadhare-chip8-382eb4f287d76978ced682efafaf64aab9ee438a.tar.gz
feat: initial commit
Diffstat (limited to '')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7318f60
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+.POSIX:
+.SUFFIXES:
+HARE = hare
+HAREFLAGS = -lSDL2
+
+DESTDIR =
+PREFIX = /usr/local
+
+all: hare-chip8
+
+hare-chip8:
+ $(HARE) build $(HAREFLAGS) -o $@ .
+
+check:
+ $(HARE) test $(HAREFLAGS)
+
+clean:
+ rm -f hare-chip8
+
+.PHONY: all check clean