2012-01-25 08:57:59 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
#
|
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
UNWARMLIB_DIR = $(ROOTDIR)/lib/unwarminder
|
|
|
|
UNWARMLIB_SRC = $(call preprocess, $(UNWARMLIB_DIR)/SOURCES)
|
|
|
|
UNWARMLIB_OBJ := $(call c2obj, $(UNWARMLIB_SRC))
|
2012-01-25 08:57:59 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
OTHER_SRC += $(UNWARMLIB_SRC)
|
2012-01-25 08:57:59 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
UNWARMLIB = $(BUILDDIR)/lib/libunwarminder.a
|
|
|
|
CORE_LIBS += $(UNWARMLIB)
|
2012-01-25 08:57:59 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
INCLUDES += -I$(UNWARMLIB_DIR)
|
2012-01-25 08:57:59 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
$(UNWARMLIB): $(UNWARMLIB_OBJ)
|
2012-01-25 08:57:59 +00:00
|
|
|
$(SILENT)$(shell rm -f $@)
|
|
|
|
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|