shithub: scc

ref: 272bc8e3488ce5c7220ebf7cc731a04211b6dba4
dir: /Makefile/

View raw version
.POSIX:

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

DIRS  = src include/scc/scc tests

all: src

src: dirs include/scc/scc

dirs: $(SCRIPTDIR)/libc-proto
	xargs mkdir -p < $(SCRIPTDIR)/libc-proto
	touch dirs

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

dep:
	$(FORALL)

clean:
	$(FORALL)
	rm -rf lib bin libexec dirs

distclean: clean
	+@cd include/scc/scc && $(MAKE) distclean

tests: all