scc

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

commit dd2d158752e4144e373e7f7025b0b4126b98afa6
parent 743a9b26faf8cdf8458db1b00e7c9494f0ca9e5a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 25 Oct 2024 12:52:06 +0200

build/libc: Fix clean

It only cleaned correctly amd64 objects, because it didn't considered
the second letter of the object designation.

Diffstat:
Msrc/libc/rules.mk | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libc/rules.mk b/src/libc/rules.mk @@ -25,10 +25,10 @@ $(CRT): crt.$O clean: clean-libc clean-libc: FORCE - rm -f *.6? *.7 *.8 *.z *.q + rm -f *.6? *.7? *.8? *.z *.q .c.$O: - $(CC) $(PROJ_CPPFLAGS) $(PROJ_CFLAGS) -o $@ -c $< + $(CC) $(PROJ_CFLAGS) -o $@ -c $< .s.$O: $(AS) $(PROJ_ASFLAGS) $< -o $@