diff options
| author | Darell Tan <darell.tan@gmail.com> | 2011-01-02 22:38:41 +0800 |
|---|---|---|
| committer | Darell Tan <darell.tan@gmail.com> | 2011-01-02 22:38:41 +0800 |
| commit | 6f54e6bce3ccf7ad12a8f9a417fed4b4be16c463 (patch) | |
| tree | 5a997cbe7c2cfb966d33452511e8d48a3df24425 /Makefile | |
| parent | 81c0027bd200bfc106989baa91ab5306864a11ee (diff) | |
| download | mdns-repeater-6f54e6bce3ccf7ad12a8f9a417fed4b4be16c463.tar.gz mdns-repeater-6f54e6bce3ccf7ad12a8f9a417fed4b4be16c463.zip | |
Added hg revision tag into executable to allow tracking of versions.
See http://mercurial.selenic.com/wiki/KeywordPlan
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,7 @@ # Makefile for mdns-repeater +HGVERSION=$(shell hg id -i) + CFLAGS=-Wall ifdef DEBUG @@ -9,6 +11,8 @@ CFLAGS+= -Os LDFLAGS+= -s endif +CFLAGS+= -DHGVERSION="\"${HGVERSION}\"" + .PHONY: all clean all: mdns-repeater |
