summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLassi Pulkkinen <lassi@pulk.fi>2024-10-31 03:11:21 +0200
committerLassi Pulkkinen <lassi@pulk.fi>2024-10-31 03:51:35 +0200
commitae44478b30d890fe0fb04022f44d474dcdcc3f9d (patch)
tree5f462459ae4b47d22114eed717d1382d08cf4dfe /Makefile
Initial commit (import old repo)HEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..41a7258
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+.POSIX:
+.SUFFIXES:
+
+BIN = hacraft
+LIBS = -lc -lSDL2
+
+all: $(BIN)
+
+clean:
+ rm $(BIN)
+
+$(BIN):
+ hare build -o $@ $(LIBS)
+
+.PHONY: all clean $(BIN)