aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-03-07 22:28:36 +0900
committerAstatin <[email protected]>2025-03-07 22:28:36 +0900
commitf56fac64f90feb0414a7372ea5897853738d110f (patch)
treea3093cab25f623221ce9c6afc6bb7d0be1351863 /Makefile
parent0e86a8e70316f5fa9c0d0f66496740d97e312b43 (diff)
Add automatic recordings of inputs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 00aed1f..78aa670 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ build/main.rom: main.gbasm tileset.gbasm dialogues.gbasm
gbasm $< $@
run: build/main.rom
- gb $<
+ mkdir -p recordings
+ gb $< --record-input "./recordings/$(shell date -Iseconds).record"
sameboy: build/main.rom
sameboy build/main.rom