summaryrefslogtreecommitdiffhomepage
path: root/digital/ucoolib/build/host.mk
diff options
context:
space:
mode:
Diffstat (limited to 'digital/ucoolib/build/host.mk')
-rw-r--r--digital/ucoolib/build/host.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/digital/ucoolib/build/host.mk b/digital/ucoolib/build/host.mk
new file mode 100644
index 00000000..b061efd1
--- /dev/null
+++ b/digital/ucoolib/build/host.mk
@@ -0,0 +1,18 @@
+# ucoolib - Microcontroller object oriented library.
+#
+# Rules for Host.
+
+host_CPPFLAGS := $(CPPFLAGS) $(host_DEFS) \
+ -DTARGET_HOST=1
+host_CFLAGS := $(CFLAGS)
+host_CXXFLAGS := $(sort $(host_CFLAGS) $(CXXFLAGS))
+host_ASFLAGS := $(ASFLAGS)
+host_LDFLAGS := $(LDFLAGS)
+host_LDLIBS := $(LDLIBS) $(host_LIBS)
+
+$(eval $(call arch_cmds,host))
+
+# Rules.
+
+$(eval $(call arch_build_rules,host))
+$(eval $(call arch_misc_rules,host))