From: Michal Sojka Date: Sat, 4 Jul 2015 11:38:32 +0000 (+0200) Subject: Makefile: Require specifying release target X-Git-Tag: eaton-0.5.5~65 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-simulink.git/commitdiff_plain/dc88d7c05af6759e7c1b95446d2ba3a71a0ac157 Makefile: Require specifying release target --- diff --git a/Makefile b/Makefile index 216a316..3851d72 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,12 @@ release: $(RELEASE_BASENAME).zip cp doc/test-sw/$(shell make -C doc/test-sw --silent print-release-basename).zip . cp doc/rpp_simulink.pdf rpp_simulink-$(RELEASE_VERSION).pdf -RELEASE_TARGET ?= tms570_hydctr + +ifneq ($(RELEASE_TARGET),) include rpp/lib/build/$(RELEASE_TARGET)/Makefile.config +endif + +RELEASE_TARGET = $(error Please set RELEASE_TARGET variable on command line) RELEASE_LIB_GIT_FILES = \ Makefile.var \