|
@@ -5,7 +5,6 @@ MKDEP = $(CROSS)$(CC) -MP -MM -o $*.d $<
|
5
|
5
|
RM = rm -f
|
6
|
6
|
MV = mv -f
|
7
|
7
|
|
8
|
|
-BUILD_ID = $(shell date +%F_%R)
|
9
|
8
|
VERSION = $(shell cat RELEASE)
|
10
|
9
|
GIT_VER = $(shell git describe --tags --dirty --always 2>/dev/null)
|
11
|
10
|
ifeq "$(GIT_VER)" ""
|
|
@@ -30,8 +29,7 @@ LDFLAGS :=
|
30
|
29
|
CC := cc -I/opt/local/include
|
31
|
30
|
endif
|
32
|
31
|
|
33
|
|
-DEFS = -DBUILD_ID=\"$(BUILD_ID)\" \
|
34
|
|
- -DVERSION=\"$(VERSION)\" -DGIT_VER=\"$(GIT_VER)\"
|
|
32
|
+DEFS = -DVERSION=\"$(VERSION)\" -DGIT_VER=\"$(GIT_VER)\"
|
35
|
33
|
DEFS += -D_FILE_OFFSET_BITS=64
|
36
|
34
|
|
37
|
35
|
PREFIX ?= /usr/local
|