diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-17 14:06:37 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-17 14:06:37 +0200 |
| commit | 7d29faead63abf66a9ef35606a732ca3493c6fbe (patch) | |
| tree | 2927b97ef942d3aa3f8c4f2ac4dacab6693d5c4e /Makefile | |
| parent | 1aa6444759c2e564f5b99c0cd65f7c2bb134758a (diff) | |
Add Globals
Note that we fail to build on linking errors - we have a lot of
missing `env` functions to implement since moving away from the
stub.
Now the real fun begins...
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -6,8 +6,6 @@ HOSTCC ?= cc PICO8 ?= pico8 WASM2C ?= wasm2c -WAT2WASM ?= wat2wasm - ARCH ?= $(shell uname -m) CFLAGS ?= -std=c99 -Wall -Wextra -O2 -MMD -Isrc -Ilib -I$(SYSTEM) \ $(shell pkg-config sdl3 --cflags) @@ -38,8 +36,7 @@ $(OUT)/system/%.o: $(SYSTEM)/%.c @ mkdir -p $(dir $@) @ $(CC) $(CFLAGS) -Wno-unused -Wno-unused-parameter -c $< -o $@ -$(SYSTEM)/pico8.h $(SYSTEM)/pico8.c: $(SYSTEM)/stub/pico8.wasm \ - $(SYSTEM)/pico8.wasm +$(SYSTEM)/pico8.h $(SYSTEM)/pico8.c: $(SYSTEM)/pico8.wasm @ echo "WASM2C\t$(SYSTEM)/pico8.h $(SYSTEM)/pico8.c" @ $(WASM2C) $(W2CFLAGS) $< -o $(SYSTEM)/pico8.c @ echo '#include "wasmrt.h"' > $(SYSTEM)/wasm-rt.h @@ -70,11 +67,6 @@ $(SYSTEM)/%.png: carts/%.p8 @ mkdir -p $(dir $@) @ $(PICO8) $< -export $@ >/dev/null -$(SYSTEM)/stub/%.wasm: stub/%.wat - @ echo "WAT2WASM\t$@" - @ mkdir -p $(dir $@) - @ $(WAT2WASM) $< -o $@ - $(TOOLS)/%: tools/%.c @ echo "CC\t$@" @ mkdir -p $(dir $@) |
