shithub: scc

ref: adc39da8ab9cb40357ddfedeea5e7190f72bcdfd
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