aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGergő J. Miklós2020-10-10 23:26:19 +0200
committerGergő J. Miklós2020-10-10 23:26:19 +0200
commit32094c850a92fbdc77b05f9d78cb35f385b44c2e (patch)
tree7a5a546647742dfd9d2fe2b593f1c4e84bbcd548 /Makefile
parentfb7772fdfc90c84f44d51398b20fec0d4e749345 (diff)
downloadi2sensors-32094c850a92fbdc77b05f9d78cb35f385b44c2e.tar.gz
i2sensors-32094c850a92fbdc77b05f9d78cb35f385b44c2e.zip
versionstring
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a3c8c7..d79e2c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
CC = gcc
ACC = arm-linux-gnueabihf-gcc
-CFLAGS = -Wall
+DATE = $(shell date "+%Y-%m-%d %H:%M:%S" )
+CFLAGS = -Wall -D"_BUILD_TIME_=\"$(DATE)\""
all: dir x86
##copy