aboutsummaryrefslogtreecommitdiffstats
path: root/atk16_projects/monitor_proto/Makefile
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-04-26 15:40:14 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-04-26 15:40:14 +0300
commit7ca56c1a730fcecd0fe3af5e6b652fa09514a18b (patch)
treee2ef6a4d28fa26adf11e00d138ef21b8316497f6 /atk16_projects/monitor_proto/Makefile
parent2b18b320e97260f1d27143a37fe14953cf62e56d (diff)
Refactor project structure, add README and LICENSE
Diffstat (limited to 'atk16_projects/monitor_proto/Makefile')
-rw-r--r--atk16_projects/monitor_proto/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/atk16_projects/monitor_proto/Makefile b/atk16_projects/monitor_proto/Makefile
new file mode 100644
index 0000000..0ef6d33
--- /dev/null
+++ b/atk16_projects/monitor_proto/Makefile
@@ -0,0 +1,16 @@
+EMULATOR = atk16emu
+ASSEMBLER = atk16c
+PROJ = monitor_proto
+
+out/$(PROJ).bin: $(PROJ).atk16
+ $(ASSEMBLER) $< -o out/$(PROJ).bin
+
+###
+
+@PHONY: run
+run: out/$(PROJ).bin
+ $(EMULATOR) $<
+
+@PHONY: debug
+debug: out/$(PROJ).bin
+ $(EMULATOR) -d $<