added updateversion into makefile while compiling

This commit is contained in:
Dhanya Maliakal
2017-06-28 11:18:55 +02:00
parent 22796d0d27
commit 3515951bb8
3 changed files with 41 additions and 1 deletions

View File

@ -29,7 +29,7 @@ INCLUDES ?= $(LIBRARYDIR)/commonFiles -I$(LIBRARYRXRDIR)/MySocketTCP -I$(LIBRA
.PHONY: all lib clean mm doc htmldoc guiclient
all: lib $(PROG) Makefile.gui guiclient
all: lib updateVersion $(PROG) Makefile.gui guiclient
lib:
cd ../ && $(MAKE) lib
@ -57,3 +57,6 @@ $(PROG): Makefile.gui $(DIR)
guiclient:
echo $(WD)
cd client && $(MAKE) DESTDIR=$(DESTDIR)
updateVersion:
./updateGitVersion.sh