summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2022-01-26 22:06:21 +0100
committerGustav Sörnäs <gustav@sornas.net>2022-01-26 22:06:21 +0100
commit0a76e13deb6b2bd8e34c1cf26254041f873552e9 (patch)
tree1e5b3b032b91c634664c5406f917554b30fbf56b
parentad1b0ab4509711803dbfff758026858abec65104 (diff)
downloadtsea83-0a76e13deb6b2bd8e34c1cf26254041f873552e9.tar.gz
add makefile
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..74895e8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+.PHONY: all
+all: lab1upg2.out lab1upg3.out lab1ucode.out
+
+lab1upg2.out: lab1asm.py lab1upg2.in
+ python3.10 lab1asm.py < lab1upg2.in > lab1upg2.out
+
+lab1upg3.out: lab1asm.py lab1upg3.in
+ python3.10 lab1asm.py < lab1upg3.in > lab1upg3.out
+
+lab1ucode.out: lab1ucode.py lab1ucode.in
+ python3.10 lab1ucode.py < lab1ucode.in > lab1ucode.out