[hackers] [scc] [libc] Fix sys Makefiles || Quentin Rameau

From: <git_AT_suckless.org>
Date: Fri, 17 Mar 2017 08:50:00 +0100 (CET)

commit 346134839a1b9c21fb4db1172ae57120304fc579
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Wed Mar 8 16:34:16 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Tue Mar 14 08:31:50 2017 +0100

    [libc] Fix sys Makefiles

diff --git a/libc/src/Makefile b/libc/src/Makefile
index ff9ff86..33cfe95 100644
--- a/libc/src/Makefile
+++ b/libc/src/Makefile
_AT_@ -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
index f49496c..21ab643 100644
--- a/libc/src/sys/amd64-sysv-linux/Makefile
+++ b/libc/src/sys/amd64-sysv-linux/Makefile
_AT_@ -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
index e74b9d8..21ab643 100644
--- a/libc/src/sys/qbe-linux/Makefile
+++ b/libc/src/sys/qbe-linux/Makefile
_AT_@ -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
Received on Fri Mar 17 2017 - 08:50:00 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 17 2017 - 09:00:28 CET