summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-05-31 19:00:42 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-05-31 19:00:42 +0800
commit5b9a799146f25dd23d108b01abed72dc50556076 (patch)
treef352f1fcbce4febd6f814639613b96bfdf7b8d72 /Makefile
Initial commit: placing pieces
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..97bcb23
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+all: compile run
+
+compile:
+ gcc -g sirtet.c pieces.c -o sirtet
+
+run:
+ ./sirtet
+
+valgrind:
+ valgrind --leak-check=full --show-leak-kinds=all ./sirtet