samples/geos/Makefile: use C1541 variable for c1541 program
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
# var. to build for another target system.
|
# var. to build for another target system.
|
||||||
SYS ?= geos-cbm
|
SYS ?= geos-cbm
|
||||||
|
|
||||||
|
# Comes with the VICE emulator, see http://vice-emu.sourceforge.net/
|
||||||
|
C1541 ?= c1541
|
||||||
|
|
||||||
# If SYS was given on the commandline, redirect "c64" to "geos-cbm" and
|
# If SYS was given on the commandline, redirect "c64" to "geos-cbm" and
|
||||||
# "apple2enh" to "geos-apple"
|
# "apple2enh" to "geos-apple"
|
||||||
ifeq ($(origin SYS),command line)
|
ifeq ($(origin SYS),command line)
|
||||||
@@ -82,11 +85,11 @@ samples: $(EXELIST_$(SYS))
|
|||||||
$(foreach dir,$(DIRLIST),$(SUBDIR_recipe))
|
$(foreach dir,$(DIRLIST),$(SUBDIR_recipe))
|
||||||
|
|
||||||
define samples-geos
|
define samples-geos
|
||||||
c1541 -attach $(0).d64 -geoswrite $(1);
|
$(C1541) -attach $(0).d64 -geoswrite $(1);
|
||||||
endef
|
endef
|
||||||
|
|
||||||
samples-geos: $(EXELIST_$(SYS))
|
samples-geos: $(EXELIST_$(SYS))
|
||||||
c1541 -format "$@,01" d64 $@.d64
|
$(C1541) -format "$@,01" d64 $@.d64
|
||||||
$(foreach tool,$(EXELIST_$(SYS)),$(call samples-geos,$(tool)))
|
$(foreach tool,$(EXELIST_$(SYS)),$(call samples-geos,$(tool)))
|
||||||
else
|
else
|
||||||
samples:
|
samples:
|
||||||
|
|||||||
Reference in New Issue
Block a user