From ba88bcaab94c20db0b76477d0b2420634a85acfc Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Tue, 3 May 2011 21:10:42 +0300 Subject: [PATCH] OP-438: add gcs_installer target to the top Makefile (Windows only) --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 6e1601c6b..0cc2eeb72 100644 --- a/Makefile +++ b/Makefile @@ -232,6 +232,18 @@ openpilotgcs: uavobjects_gcs $(MAKE) -w ; \ ) +.PHONY: gcs_installer +gcs_installer: openpilotgcs +ifeq ($(QT_SPEC), win32-g++) +ifeq ($(GCS_BUILD_CONF), release) + $(V1) cd $(BUILD_DIR)/ground/openpilotgcs/packaging/winx86 && $(MAKE) -r --no-print-directory $@ +else + $(error $@ can be generated for release build only (GCS_BUILD_CONF=release)) +endif +else + $(error $@ is currently only available on Windows) +endif + .PHONY: uavobjgenerator uavobjgenerator: $(V1) mkdir -p $(BUILD_DIR)/ground/$@