summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-07-06 15:37:36 +0900
committerjaseg <git@jaseg.net>2019-07-06 15:37:36 +0900
commit2a6ce07104f4090736123c4997f47568efb58b18 (patch)
treeadb93fab266531b966da9192d37fdac79d4785a9 /Makefile
parent4491f72afd80c59d1fc0f1e166b17372b10cdc5a (diff)
downloadmoargb-2a6ce07104f4090736123c4997f47568efb58b18.tar.gz
moargb-2a6ce07104f4090736123c4997f47568efb58b18.tar.bz2
moargb-2a6ce07104f4090736123c4997f47568efb58b18.zip
More logic works now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c772a3e..ea9ee6b 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ LIBS =
#LIBS += -lrdimon
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000 -DLSE_VALUE=32768
+CFLAGS += -DCOMPILE_TIME=$(shell date +%s) -DTARGET_DATE=$(shell date -d 'Aug 17 00:00:00 CEST 2019' +%s)
LDFLAGS += -Tstm32_flash.ld
CFLAGS += -I$(CMSIS_DEV_PATH)/Include -I$(CMSIS_PATH)/Include -I$(HAL_PATH)/Inc -Iconfig -Wno-unused -I../common