scc

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

commit 5354d2115b0014bb74cf1c1e0614111f45fff798
parent 839727ae0a9aa7c0565c2900a170ecb1b39970d1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 23 Dec 2018 08:23:54 +0000

[libc] Move target directory to script/rules.mk

Diffstat:
Mscripts/rules.mk | 1+
Msrc/libc/Makefile | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/rules.mk b/scripts/rules.mk @@ -8,6 +8,7 @@ INCDIR = $(PROJECTDIR)/include BINDIR = $(PROJECTDIR)/bin LIBEXEC = $(PROJECTDIR)/libexec/scc CRTDIR = $(PROJECTDIR)/lib/scc +LIBCDIR = $(CRTDIR)/$(ARCH)-$(SYS)/ INCLUDE = -I$(INCDIR)/scc \ diff --git a/src/libc/Makefile b/src/libc/Makefile @@ -3,7 +3,7 @@ PROJECTDIR =../.. include $(PROJECTDIR)/scripts/rules.mk include rules.mk -TARGET = $(CRTDIR)/$(ARCH)-$(SYS)/libc.a +TARGET = $(LIBCDIR)/libc.a DIRS = arch\ assert\ ctype\