added updateversion into makefile while compiling

This commit is contained in:
Dhanya Maliakal
2017-06-28 10:48:03 +02:00
parent c2624daa9a
commit a7d3006cda
9 changed files with 65 additions and 33 deletions

View File

@ -10,7 +10,7 @@ INSTMODE = 0777
SRC_CLNT = communication_funcs.c slsDetectorServer.c slsDetectorServer_funcs.c slsDetectorFunctionList.c
OBJS = $(SRC_CLNT:.c=.o)
all: clean $(PROGS)
all: clean updateVersion $(PROGS)
boot: $(OBJS)
@ -24,3 +24,6 @@ $(PROGS): $(OBJS)
clean:
rm -rf $(DESTDIR)/$(PROGS) *.o
updateVersion:
./updateGitVersion.sh