scc

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

commit ec0e3ddd118d44a0a2c0fc64be5d15f8105075db
parent 84499d25dd3891629b737b7ac497dd4eca26c89c
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun,  2 May 2021 14:41:33 +0200

libc: Fix object list dependencies

The dependency wasn't robust, as the list file
would not be part of the dependency chain.

Diffstat:
Msrc/libc/arch/amd64/Makefile | 4+++-
Msrc/libc/arch/arm/Makefile | 4+++-
Msrc/libc/arch/arm64/Makefile | 4+++-
Msrc/libc/arch/i386/Makefile | 4+++-
Msrc/libc/arch/ppc/Makefile | 4+++-
5 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/libc/arch/amd64/Makefile b/src/libc/arch/amd64/Makefile @@ -21,7 +21,9 @@ DIRS =\ all: $(LIBC) $(SYS) -$(LIBC): $(OBJS) +$(LIBC): $(LIBCLST) + +$(LIBCLST): $(OBJS) $(MKLST) $(SYS): FORCE diff --git a/src/libc/arch/arm/Makefile b/src/libc/arch/arm/Makefile @@ -16,7 +16,9 @@ DIRS = linux all: $(LIBC) $(SYS) -$(LIBC): $(OBJS) +$(LIBC): $(LIBCLST) + +$(LIBCLST): $(OBJS) $(MKLST) $(SYS): FORCE diff --git a/src/libc/arch/arm64/Makefile b/src/libc/arch/arm64/Makefile @@ -16,7 +16,9 @@ DIRS = linux all: $(LIBC) $(SYS) -$(LIBC): $(OBJS) +$(LIBC): $(LIBCLST) + +$(LIBCLST): $(OBJS) $(MKLST) $(SYS): FORCE diff --git a/src/libc/arch/i386/Makefile b/src/libc/arch/i386/Makefile @@ -16,7 +16,9 @@ DIRS = linux all: $(LIBC) $(SYS) -$(LIBC): $(OBJS) +$(LIBC): $(LIBCLST) + +$(LIBCLST): $(OBJS) $(MKLST) $(SYS): FORCE diff --git a/src/libc/arch/ppc/Makefile b/src/libc/arch/ppc/Makefile @@ -16,7 +16,9 @@ DIRS = linux all: $(LIBC) $(SYS) -$(LIBC): $(OBJS) +$(LIBC): $(LIBCLST) + +$(LIBCLST): $(OBJS) $(MKLST) $(SYS): FORCE