aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-03 16:12:57 +0900
committerAstatin <astatin@redacted>2024-08-03 16:12:57 +0900
commit6b0db29bfccbdce4ea4a438f2ccb921173f96afa (patch)
tree4058c787d75e6a2ee1e7e1214abb59bb9b137464 /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..34b242a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+all: run
+
+build/%.rom: %.gbasm
+ mkdir -p build
+ gbasm $< $@
+
+run: build/main.rom
+ gb $<
+
+clean:
+ rm -rf build