summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-08-23 00:06:45 +0200
committerOle Loots <ole@monochrom.net>2012-08-23 00:06:45 +0200
commit887a2ca18638755f74594913b7e07ac41b27e8a6 (patch)
tree9591906839c7b02fdf5ac28fe8c6be89a8e2aaf2 /atari
parent654609887678aef9b62ba62b6427de0b9fc9bdb2 (diff)
downloadnetsurf-887a2ca18638755f74594913b7e07ac41b27e8a6.tar.gz
netsurf-887a2ca18638755f74594913b7e07ac41b27e8a6.tar.bz2
Added and use PRGSUFFIX to configure executable name.
Diffstat (limited to 'atari')
-rw-r--r--atari/Makefile.target8
1 files changed, 7 insertions, 1 deletions
diff --git a/atari/Makefile.target b/atari/Makefile.target
index 259f5b6a4..cbd8e6ffa 100644
--- a/atari/Makefile.target
+++ b/atari/Makefile.target
@@ -3,13 +3,19 @@
# ----------------------------------------------------------------------------
ifeq ($(ATARI_ARCH),68020-60)
+PRGSUFFIX := 000.app
+endif
+
+ifeq ($(ATARI_ARCH),68020-60)
CFLAGS += -m68020-60
LDFLAGS += -m68020-60
+PRGSUFFIX := 020.app
endif
ifeq ($(ATARI_ARCH),5475)
CFLAGS += -mcpu=5475
LDFLAGS += -mcpu=5475
+PRGSUFFIX := v4e.app
endif
# non-pkgconfig components
@@ -71,6 +77,6 @@ S_ATARI := $(addprefix atari/,$(S_ATARI))
# Note this is deliberately *not* expanded here as common and image
# are not yet available
SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_ATARI)
-EXETARGET := ns$(SUBTARGET).prg
+EXETARGET := ns$(SUBTARGET)$(PRGSUFFIX)