ref: b7e9430d7f6df2b479baba4470474d130039e8c6
dir: /src/libc/Makefile/
.POSIX: PROJECTDIR =../.. include $(PROJECTDIR)/scripts/rules.mk include rules.mk TARGET = $(CRTDIR)/$(ARCH)-$(SYS)/libc.a DIRS = arch\ assert\ ctype\ locale\ stdio\ stdlib\ string\ time\ all: $(DIRS) +@$(MAKE) $(TARGET) $(DIRS): FORCE +@cd $@ && $(MAKE) objlst: FORCE ./mklst $(TARGET) $(TARGET): objlst xargs $(AR) $(ARFLAGS) $@ < objlst $(RL) $(RANLIBFLAGS) $@ clean: $(FORALL) rm -f objlst