diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-13 09:56:30 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-13 09:56:30 +0200 |
| commit | b5cc8d759a09ad2754efb671dc1af12d52fc542e (patch) | |
| tree | 8f2731fefaaa7b2afdfdbd80a768b72172b5a6c0 /Makefile | |
| parent | e06434fd89345fdc4e931f6fa3904626d75097db (diff) | |
Added Debug Stats
We now print debug stats (ATM, just FPS) overlaying the actual game.
We use the PICO-8 font to keep things consistent; I probable should
choose a better color though...
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -65,7 +65,8 @@ $(SYSTEM)/sysroot.h $(SYSTEM)/sysroot.c: $(TOOLS)/generate-sysroot \ $(SYSTEM)/pico8.data.pod \ $(SYSTEM)/pico8.wasm \ $(SYSTEM)/stub/pico8.wasm \ - $(SYSTEM)/unknown.p8.png + $(SYSTEM)/unknown.p8.png \ + $(SYSTEM)/font.png @ echo "TOOL\t$(SYSTEM)/sysroot.h $(SYSTEM)/sysroot.c" @ $< $(SYSTEM) @@ -83,6 +84,11 @@ $(SYSTEM)/%.p8.png: carts/%.p8 @ mkdir -p $(dir $@) @ $(PICO8) $< -export $@ >/dev/null +$(SYSTEM)/%.png: carts/%.p8 + @ echo "PICO8\t$@" + @ mkdir -p $(dir $@) + @ $(PICO8) $< -export $@ >/dev/null + $(SYSTEM)/stub/%.wasm: stub/%.wat @ echo "WAT2WASM\t$@" @ mkdir -p $(dir $@) |
