]> git.sur5r.net Git - cc65/commitdiff
Write overlays to d64 image.
authorOliver Schmidt <ol.sc@web.de>
Thu, 2 Jun 2016 18:49:10 +0000 (20:49 +0200)
committerOliver Schmidt <ol.sc@web.de>
Thu, 2 Jun 2016 18:49:10 +0000 (20:49 +0200)
samples/Makefile

index df8aab38e595909ca1d9bebee78957632af0d9f1..c138c1c2e0b80bf3ed6a7f0e811657b7ab0ee414 100644 (file)
@@ -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))
 
 # --------------------------------------------------------------------------