scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 346134839a1b9c21fb4db1172ae57120304fc579
parent d6f97eef2009ef0d18f75ee9748581a0d8c0c66f
Author: Quentin Rameau <quinq@fifth.space>
Date:   Wed,  8 Mar 2017 16:34:16 +0100

[libc] Fix sys Makefiles

Diffstat:
Mlibc/src/Makefile | 2+-
Mlibc/src/sys/amd64-sysv-linux/Makefile | 5+++--
Mlibc/src/sys/qbe-linux/Makefile | 2+-
3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/libc/src/Makefile b/libc/src/Makefile @@ -19,7 +19,7 @@ OBJ = $(LIBCOBJ) $(SYSOBJ) all: libc.a -$(SYSOJB): +$(SYSOBJ): cd sys/$(ARCH)-$(SYS) && make all libc.a: $(OBJ) diff --git a/libc/src/sys/amd64-sysv-linux/Makefile b/libc/src/sys/amd64-sysv-linux/Makefile @@ -12,10 +12,11 @@ OBJ = $(OBJ_GEN) all: $(OBJ) system.mk system.mk: Makefile - echo '$$(SYSOBJ)' = $(OBJ) > system.mk + echo SYSOBJ = $(OBJ) > system.mk $(ASM_GEN): syscall.lst awk -f syscall.awk < syscall.lst clean: - rm -f *.s *.o + rm -f *.o + rm -f $(ASM_GEN) diff --git a/libc/src/sys/qbe-linux/Makefile b/libc/src/sys/qbe-linux/Makefile @@ -12,7 +12,7 @@ OBJ = $(OBJ_GEN) all: $(OBJ) system.mk system.mk: Makefile - echo '$$(SYSOBJ)' = $(OBJ) > system.mk + echo SYSOBJ = $(OBJ) > system.mk $(ASM_GEN): syscall.lst awk -f syscall.awk < syscall.lst