scc

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

commit 1fb593952e92d1a42453c46b97048877505b82f9
parent 4adcea0d7a4114015d85ec8761fefb6a84a226cb
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 22 Jan 2025 12:30:05 +0100

build/libmach: Remove dependency in all

The all target is designed to run the recursive Makefiles, but if it
has a dependency then it will try to fulfil it before the recursive
Makefiles are used, defeating the intention of the recursive Makefile.

Diffstat:
Msrc/libmach/Makefile | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/libmach/Makefile b/src/libmach/Makefile @@ -9,11 +9,9 @@ include $(PROJECTDIR)/scripts/rules.mk TARGET = libmach.a -all: $(TARGET) - OBJS =\ -all: $(TARGET) +all: +@$(MAKE) $(DIRS) +@$(MAKE) $(TARGET)