shithub: scc

ref: f135e0f1a43183e0c25e9ed8dbbe294474c0fc2a
dir: /src/libc/Makefile/

View raw version
.POSIX:
PROJECTDIR =../..
include $(PROJECTDIR)/scripts/rules.mk
include rules.mk

DIRS = arch\
       assert\
       ctype\
       locale\
       stdio\
       stdlib\
       string\
       time\

all: $(DIRS) objlst.mk
	+@$(MAKE) -f Makefile.libc

$(DIRS): FORCE
	+@cd $@ && $(MAKE)

objlst.mk: $(DIRS) FORCE
	mklst $@

clean:
	$(FORALL)
	rm -f objlst.mk