shithub: scc

ref: 5a887532fdcc8d14f6ee68fb647dd83725c0f43f
dir: /src/libc/Makefile/

View raw version
.POSIX:

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

PROJECTDIR =../..
include $(PROJECTDIR)/scripts/rules.mk
include rules.mk


all: $(LIBC)

$(LIBC): $(DIRS)
	$(AR) $(PROJ_ARFLAGS) $@ `cat $(LIBCLST)`
	$(RL) $(PROJ_RLFLAGS) $@

rm-lst: FORCE
	rm -f $(LIBCLST)

dep:
	$(FORALL)

clean: rm-lst
	$(FORALL)