summaryrefslogtreecommitdiff
path: root/apps/codecs/libatrac/libatrac.make
blob: 01606e1f154217f579d728dc5923d79d4441154f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id: libatrac.make 20151 2009-03-01 09:04:15Z amiconn $
#

# libatrac
ATRACLIB := $(CODECDIR)/libatrac.a
ATRACLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libatrac/SOURCES)
ATRACLIB_OBJ := $(call c2obj, $(ATRACLIB_SRC))
OTHER_SRC += $(ATRACLIB_SRC)

$(ATRACLIB): $(ATRACLIB_OBJ)
	$(SILENT)$(shell rm -f $@)
	$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null