some more changes to make file for automatic versioning

This commit is contained in:
Dhanya Maliakal
2017-07-10 11:18:41 +02:00
parent be6925c504
commit a583f3d6e2
29 changed files with 241 additions and 270 deletions

View File

@ -21,11 +21,15 @@ CFLAGS+= -Wall -DC_ONLY -DMCB_FUNCS -DDACS_INT $(VFLAGS)
LDLIBS+= -lm
mythen: clean $(PROGS)
all: updateVersion $(PROGS)
mythen: clean versioning $(PROGS)
all: versioning $(PROGS)
boot: $(OBJS)
versioning:
@echo `tput setaf 6; ./updateGitVersion.sh; tput sgr0;`
$(PROGS): $(OBJS)
echo $(OBJS)
$(CC) $(LDFLAGS) $^ $(LDLIBS) $(CFLAGS) -o $@
@ -39,7 +43,4 @@ clean:
depend:
makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
updateVersion:
./updateGitVersion.sh