diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-07 01:34:42 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-03-07 01:34:42 +0000 |
commit | 3a3f779487fc45ad7890c4fba7e3735a721e51f4 (patch) | |
tree | 3ce978d2d5fce95c94572f373e6e09b440f7e12a /Makefile | |
parent | f2c218206e155bd0552cac490fa752eb523874d8 (diff) | |
download | verteco-3a3f779487fc45ad7890c4fba7e3735a721e51f4.tar.gz |
Add compile time version numbers
Uses git tags as version number
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ FTPHELPERDIR=/usr/bin PHPSDIR=php WWWDIR=/var/www +GITTAGFLAG := -D'VERSION_STRING="$(shell LC_ALL=C git describe --tags)"' +MODBUSLOGCFLAGS += $(GITTAGFLAG) +FTPHELPERCFLAGS += $(GITTAGFLAG) + all: modbuslog ftphelper modbuslog: $(SDIR)/modbuslog.c |