ref: 8eae1d47c3534a3ce3902a8895e80dbb4f90375a
dir: /lib/c/Makefile/
.POSIX: PROJECTDIR =../.. include $(PROJECTDIR)/scripts/rules.mk TARGET = $(PROJECTDIR)/lib/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 clean: $(FORALL) rm -f objlst