ref: 8f0953979283c0b604bc4ed5e90ed20c870618fe
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