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
This commit is contained in:
Akos Kiss 2015-07-15 18:11:17 +02:00
parent 8d9658913b
commit 6038173e76

View File

@ -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