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