summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--Makefile.fpc3
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9445822694..3c84626dd5 100644
--- a/Makefile
+++ b/Makefile
@@ -398,6 +398,9 @@ endif
ifeq ($(CPU_TARGET),xtensa)
PPSUF=xtensa
endif
+ifeq ($(CPU_TARGET),z80)
+PPSUF=z80
+endif
ifdef CROSSCOMPILE
ifneq ($(CPU_TARGET),jvm)
PPPRE=ppcross
diff --git a/Makefile.fpc b/Makefile.fpc
index 4f19cfeebd..1478b5e45b 100644
--- a/Makefile.fpc
+++ b/Makefile.fpc
@@ -94,6 +94,9 @@ endif
ifeq ($(CPU_TARGET),xtensa)
PPSUF=xtensa
endif
+ifeq ($(CPU_TARGET),z80)
+PPSUF=z80
+endif
# cross compilers uses full cpu_target, not just ppc-suffix
# (except if the target cannot run a native compiler)