# -*- makefile -*- include Make.vars BUILD_SUBDIRS = $(addprefix build/, $(SUBDIRS)) all: dirs $(MAKE) -C build dirs: build build/Makefile $(BUILD_SUBDIRS) build: mkdir $@ build/Makefile: ../Makefile.build cp $< $@ $(BUILD_SUBDIRS): mkdir $@ clean: rm -rf build