From 9f15687b0320d27f9c102d488265c47ce890f0d9 Mon Sep 17 00:00:00 2001 From: Willy De la Court Date: Thu, 10 Jul 2025 19:37:10 +0200 Subject: [PATCH] Make sure the images in *.def files are build as dependencies --- Source/Images/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Images/Makefile b/Source/Images/Makefile index abfe97d7..1bf87517 100644 --- a/Source/Images/Makefile +++ b/Source/Images/Makefile @@ -41,6 +41,11 @@ TEMP := $(addprefix hd512_,$(TEMP)) $(addprefix hd1k_,$(TEMP)) TEMP := $(TEMP:.def=.img) OBJECTS += $(TEMP) +TEMP = $(shell grep -vEh "^\#" *.def) +TEMP := $(addprefix hd512_,$(TEMP)) $(addprefix hd1k_,$(TEMP)) +TEMP := $(addsuffix .img,$(TEMP)) +OBJECTS += $(TEMP) + OTHERS = blank144 blankhd512 blankhd1k *.cat