-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
32 lines (28 loc) · 711 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TARGETS := zone_infos.cpp zone_infos.h zone_policies.cpp zone_policies.h
TOOLS := $(abspath ../../../AceTimeTools)
TZ_REPO := $(abspath $(TOOLS)/../tz)
TZ_VERSION := 2024a
START_YEAR := 2000
UNTIL_YEAR := 2200
all:
$(TOOLS)/tzcompiler.sh \
--tzrepo $(TZ_REPO) \
--tag $(TZ_VERSION) \
--action zonedb \
--language arduino \
--scope basic \
--db_namespace zonedb \
--start_year $(START_YEAR) \
--until_year $(UNTIL_YEAR)
zonedb.json:
$(TOOLS)/tzcompiler.sh \
--tzrepo $(TZ_REPO) \
--tag $(TZ_VERSION) \
--action json \
--language arduino \
--scope basic \
--db_namespace zonedb \
--start_year $(START_YEAR) \
--until_year $(UNTIL_YEAR)
clean:
rm -rf tzfiles zonedb.json *.o