ref: 5654f33b4e15918d8a39dc6f45af5f035692971f
dir: /src/libc/Makefile/
.POSIX: PROJECTDIR =../.. include $(PROJECTDIR)/scripts/rules.mk include rules.mk TARGET = $(LIBCDIR)/libc.a DIRS = arch\ assert\ ctype\ locale\ stdio\ stdlib\ string\ time\ all: $(DIRS) +@$(MAKE) $(TARGET) $(DIRS): FORCE +@cd $@ && $(MAKE) objlst: find . -name '*.o' > $@ $(TARGET): objlst FORCE mklib -o $@ `cat objlst` clean: $(FORALL) rm -f objlst