ref: 634508e69362fc2404b0134f237019f71cb00101
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: FORCE ./mklst $(TARGET) $(TARGET): objlst xargs $(AR) $(ARFLAGS) $@ < objlst $(RL) $(RANLIBFLAGS) $@ clean: $(FORALL) rm -f objlst