summaryrefslogtreecommitdiff
path: root/lib/unwarminder/unwarminder.make
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unwarminder/unwarminder.make')
-rw-r--r--lib/unwarminder/unwarminder.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/unwarminder/unwarminder.make b/lib/unwarminder/unwarminder.make
new file mode 100644
index 0000000000..f570d49640
--- /dev/null
+++ b/lib/unwarminder/unwarminder.make
@@ -0,0 +1,21 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7#
8
9UNWARM_DIR = $(ROOTDIR)/lib/unwarminder
10UNWARM_SRC = $(call preprocess, $(UNWARM_DIR)/SOURCES)
11UNWARM_OBJ := $(call c2obj, $(UNWARM_SRC))
12
13OTHER_SRC += $(UNWARM_SRC)
14
15UNWARMINDER = $(BUILDDIR)/lib/libunwarminder.a
16
17INCLUDES += -I$(UNWARM_DIR)
18
19$(UNWARMINDER): $(UNWARM_OBJ)
20 $(SILENT)$(shell rm -f $@)
21 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null