shithub: scc

ref: 5c59ce4b790db825f40a8b7de0e7086abb14eccb
dir: /src/Makefile/

View raw version
.POSIX:

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

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

all: $(TOOLS)

$(TOOLS): $(LIBS)

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

dep clean:
	$(FORALL)