From: Oliver Schmidt
Date: Thu, 2 Jun 2016 18:49:10 +0000 (+0200)
Subject: Write overlays to d64 image.
X-Git-Tag: V2.16~119
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f01392922d47fe5062b0446df740c0165396e57;p=cc65
Write overlays to d64 image.
---
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))
# --------------------------------------------------------------------------