From 6038173e76265ab30ae7b5b70a4d20633e1de9b7 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Wed, 15 Jul 2015 18:11:17 +0200 Subject: [PATCH] Rename make target `build_all` to `$(BUILD_ALL)` The current `Makefile` works "as is" since `$(BUILD_ALL)` is `build_all`. However, the target `build` depends on `$(BUILD_ALL)`, so should that variable ever be changed, it will break. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d69f1b30..cc957c261 100644 --- a/Makefile +++ b/Makefile @@ -257,8 +257,8 @@ $(BUILD_ALL)_stm32f4: $(BUILD_DIRS_STM32F4) $(Q) ($(MAKE) -C $(BUILD_DIR)/stm32f4 $(JERRY_STM32F4_TARGETS) VERBOSE=1 2>&1 | tee $(OUT_DIR)/$@/make.log $(QLOG) ; ( exit $${PIPESTATUS[0]} ) ) || \ (echo "Build failed. See $(OUT_DIR)/$@/make.log for details."; exit 1;) -.PHONY: build_all -build_all: $(BUILD_ALL)_native $(BUILD_ALL)_stm32f3 $(BUILD_ALL)_stm32f4 +.PHONY: $(BUILD_ALL) +$(BUILD_ALL): $(BUILD_ALL)_native $(BUILD_ALL)_stm32f3 $(BUILD_ALL)_stm32f4 # # build - build_all, then run cppcheck and copy output to OUT_DIR