From 9f01392922d47fe5062b0446df740c0165396e57 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 2 Jun 2016 20:49:10 +0200
Subject: [PATCH] Write overlays to d64 image.
---
samples/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/samples/Makefile b/samples/Makefile
index df8aab38e..c138c1c2e 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -134,6 +134,8 @@ multdemo: multidemo.o
ovrldemo: overlaydemo.o
$(LD) -o $@ -C $(SYS)-overlay.cfg -m $@.map $^ $(CLIB)
+OVERLAYLIST := $(foreach I,1 2 3,multdemo.$I ovrldemo.$I)
+
# --------------------------------------------------------------------------
# Rule to make a CBM disk with all samples. Needs the c1541 program that comes
# with the VICE emulator.
@@ -149,6 +151,7 @@ endef # D64_WRITE_recipe
samples.d64: samples
@$(C1541) -format samples,AA d64 $@ >$(NULLDEV)
$(foreach file,$(EXELIST),$(D64_WRITE_recipe))
+ $(foreach file,$(OVERLAYLIST),$(D64_WRITE_recipe))
$(foreach file,$(TGI) $(MOUS),$(D64_WRITE_recipe))
# --------------------------------------------------------------------------
--
2.39.5