mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 20:06:11 +00:00
redirect c64 to geos-cbm and apple2enh to geos-apple when given with SYS= on the command line, as suggested by oliver
This commit is contained in:
parent
53f0552fe7
commit
4ba3ff3048
@ -3,6 +3,17 @@
|
||||
# var. to build for another target system.
|
||||
SYS ?= geos-cbm
|
||||
|
||||
# If SYS was given on the commandline, redirect "c64" to "geos-cbm" and
|
||||
# "apple2enh" to "geos-apple"
|
||||
ifeq "$(origin SYS)" "command line"
|
||||
ifeq "$(SYS)" "c64"
|
||||
override SYS = geos-cbm
|
||||
endif
|
||||
ifeq "$(SYS)" "apple2enh"
|
||||
override SYS = geos-apple
|
||||
endif
|
||||
endif
|
||||
|
||||
# Just the usual way to find out if we're
|
||||
# using cmd.exe to execute make rules.
|
||||
ifneq ($(shell echo),)
|
||||
|
Loading…
Reference in New Issue
Block a user