Blob Blame History Raw
From c15f4975d0a6d31a03f4c23ce5655f9615224997 Mon Sep 17 00:00:00 2001
From: Dirk Jagdmann <doj@cubic.org>
Date: Sun, 29 Mar 2020 13:09:57 -0700
Subject: [PATCH 165/170] fix the clean: target to remove any disk images.

---
 samples/Makefile | 12 ++++++------
 samples/README   |  1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/samples/Makefile b/samples/Makefile
index 69efbe43..adfe870e 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -92,14 +92,14 @@ ifneq ($(filter disk samples.%,$(MAKECMDGOALS)),)
 
   # For this one, see https://www.horus.com/~hias/atari/
   DIR2ATR ?= dir2atr
-
-  DISK_c64       = samples.d64
-  DISK_apple2    = samples.dsk
-  DISK_apple2enh = samples.dsk
-  DISK_atari     = samples.atr
-  DISK_atarixl   = samples.atr
 endif
 
+DISK_c64       = samples.d64
+DISK_apple2    = samples.dsk
+DISK_apple2enh = samples.dsk
+DISK_atari     = samples.atr
+DISK_atarixl   = samples.atr
+
 # --------------------------------------------------------------------------
 # System-dependent settings
 # For convenience, these groups and lines are sorted alphabetically, first
diff --git a/samples/README b/samples/README
index 7ace7da3..73d048fc 100644
--- a/samples/README
+++ b/samples/README
@@ -16,6 +16,7 @@ Please note:
     at the top of the makefile, specify the system with SYS=<target> on the
     make command line, or set a SYS environment variable.
 
+  * Use "make disk" to build a disk image with all sample programs.
 
 List of supplied sample programs:
 
-- 
2.26.0