travis makefile build
This commit is contained in:
parent
cb10d4b552
commit
7d55e635cc
1 changed files with 2 additions and 1 deletions
|
|
@ -234,7 +234,8 @@ DATELEN = $(shell date +"%Y.%m.%d %H:%M by `whoami` on `hostname`XXXX"|wc -c)
|
|||
|
||||
.PHONY: build.c
|
||||
build.c:
|
||||
date +"const char CLIXON_BUILDSTR[$(DATELEN)]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; > build.c;
|
||||
echo "/* This file is generated from the Clixon Makefile */" > build.c;
|
||||
date +"const char CLIXON_BUILDSTR[$(DATELEN)]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; >> build.c;
|
||||
echo "const char CLIXON_VERSION[64]=\"$(CLIXON_VERSION)\""\; >> build.c;
|
||||
|
||||
$(MYLIBDYNAMIC) : $(GENOBJS) $(OBJS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue