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