shithub: scc

ref: a4f55bc2a984f51aa2afef82f7f6257dece7a09d
dir: /src/Makefile/

View raw version
.POSIX:

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

TOOLS = cc1 cc2 ld as nm objdump
LIBS  = libscc libc libcrt libmach
DIRS  = $(TOOLS) $(LIBS)

all: $(TOOLS)

$(TOOLS): $(LIBS)

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

dep clean:
	$(FORALL)