shithub: scc

ref: 4975fa36bb99219effb418cceec5382258d9b368
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