aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..65030d3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+ASM = ez80asm -l -b 00
+
+NAME = anxiety
+BINARY = $(NAME).bin
+DEPS = mos_api.inc times12.uf2
+
+SD_PATH = ~/.local/share/fab-agon-emulator/sdcard/bin
+
+all: $(BINARY)
+
+$(BINARY): $(NAME).asm $(DEPS)
+ $(ASM) $<
+
+clean:
+ rm -f $(BINARY) *.lst
+
+install: $(BINARY)
+ cp $(BINARY) $(SD_PATH)