Add a Makefile main
authorLukáš Jiřiště <lukas.jiriste@datapartner.cz>
Fri, 5 Dec 2025 13:23:18 +0000 (14:23 +0100)
committerLukáš Jiřiště <lukas.jiriste@datapartner.cz>
Fri, 5 Dec 2025 13:23:18 +0000 (14:23 +0100)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..d04c6bd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+
+.PHONY: draw clean
+
+all: draw
+
+nbody.System_res.mat : nbody.mo script.mos
+       omc script.mos
+
+draw: nbody.System_res.mat
+       ./animate_result.py nbody.System_res.mat
+
+clean:
+       rm nbody.System*