From: Dale Richards Date: Thu, 11 Jun 2026 19:34:22 +0100 Subject: Fix cross build Mark the generated *-resources.c files as .NOTINTERMEDIATE so that make does not delete and regenerate them (which breaks cross builds where the resource compiler differs from the build architecture). Forwarded: https://github.com/geoffreybennett/alsa-scarlett-gui/pull/262 --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index a4b4908..0cab448 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,6 +58,7 @@ COMPILE.c = $(CC) $(DEPFLAGS) $(CFLAGS) -c XML_SRC := $(wildcard *.xml) XML_OBJ := $(patsubst %.xml,%.c,$(XML_SRC)) +.NOTINTERMEDIATE: $(XML_OBJ) %.o: %.c %.o: %.c Makefile $(DEPDIR)/%.d | $(DEPDIR)