scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 6128429c3fe0cffe749f5095a39cf9102a6cfb0b
parent cf23d3bf671ad3e096d9b6988f7fbaf976995137
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 29 Nov 2016 13:41:18 +0100

Move ARCHS to config.mk

In this way the coleection of compilers generated can be controlled
without modifying the Makefile.

Diffstat:
MMakefile | 1-
Mconfig.mk | 4+++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -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 @@ -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