[hackers] [scc] Move ARCHS to config.mk || Roberto E. Vargas Caballero
commit 6128429c3fe0cffe749f5095a39cf9102a6cfb0b
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Nov 29 13:41:18 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Nov 29 13:41:18 2016 +0100
Move ARCHS to config.mk
In this way the coleection of compilers generated can be controlled
without modifying the Makefile.
diff --git a/Makefile b/Makefile
index d867c22..756bbb4 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -5,7 +5,6 @@
include config.mk
DIRS = lib cc1 cc2 driver/$(DRIVER)
-ARCHS = z80 i386-sysv amd64-sysv qbe
all:
for i in $(ARCHS); \
diff --git a/config.mk b/config.mk
index d98c2c3..2e1ac50 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -2,8 +2,10 @@
VERSION = 0.1
# Customize below to fit your system
-ARCH = qbe
+ARCHS = z80 i386-sysv amd64-sysv qbe
+ARCH = qbe # default architecure used in nested makefiles
DRIVER = posix
+
# Remove inc/sizes.h if STD is changed
# can be c89 or c99
STD = c99
Received on Tue Nov 29 2016 - 13:42:25 CET
This archive was generated by hypermail 2.3.0
: Tue Nov 29 2016 - 13:48:25 CET