From 1eb30b28e1740c189320e770fceca2ff08725e12 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Tue, 15 Aug 2023 21:35:09 +0200 Subject: [PATCH] port: don't shove headers into the link command line --- Makefile.port | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.port b/Makefile.port index 10f6cea75..bd1a6f998 100644 --- a/Makefile.port +++ b/Makefile.port @@ -244,7 +244,7 @@ export ROMID BIN := $(B_DIR)/pd.exe -default: $(BIN) +default: $(JSON_HEADERS) $(BIN) ################################################################################ # Asset Manager header generation @@ -276,7 +276,7 @@ $(G_DIR)/tiles/%.h: $(A_DIR)/tiles/%.json ################################################################################ # Generic compilation rules -$(BIN): $(JSON_HEADERS) $(O_FILES) +$(BIN): $(O_FILES) $(LD) $(COMMON_CFLAGS) $(OPT_LVL) -o $(BIN) $^ $(LDFLAGS) $(B_DIR)/%.o: %.c