summaryrefslogtreecommitdiff
path: root/build/host.mk
blob: 70a3a44cfe52a3b1a5c5b805637dfd0b922d8827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# ucoolib - Microcontroller object oriented library.
#
# Rules for Host.

host_CPPFLAGS = $(CPPFLAGS) $(host_DEFS)
host_CFLAGS = $(CFLAGS) -Wl,--gc-sections -ffunction-sections
host_CXXFLAGS = $(sort $(host_CFLAGS) $(CXXFLAGS))
host_ASFLAGS = $(ASFLAGS)
host_LDFLAGS = $(LDFLAGS)
host_LDLIBS = $(LDLIBS) $(host_LIBS)
host_RUN =

$(eval $(call arch_cmds,host))

# Rules.

$(eval $(call arch_build_rules,host))
$(eval $(call arch_test_rules,host))
$(eval $(call arch_misc_rules,host))