A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 30 lines 1.2 kB view raw
1# __________ __ ___. 2# Open \______ \ ____ ____ | | _\_ |__ _______ ___ 3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6# \/ \/ \/ \/ \/ 7# $Id$ 8# 9 10TCPLUG_SRCDIR := $(APPSDIR)/plugins/tagcache 11TCPLUG_BUILDDIR := $(BUILDDIR)/apps/plugins/tagcache 12 13ROCKS += $(TCPLUG_BUILDDIR)/db_commit.rock 14 15TCPLUG_FLAGS = $(PLUGINFLAGS) -fno-strict-aliasing -Wno-unused \ 16 -I$(TCPLUG_SRCDIR) -ffunction-sections \ 17 -fdata-sections -Wl,--gc-sections 18TCPLUG_SRC := $(call preprocess, $(TCPLUG_SRCDIR)/SOURCES) 19TCPLUG_OBJ := $(call c2obj, $(TCPLUG_SRC)) 20 21# add source files to OTHER_SRC to get automatic dependencies 22OTHER_SRC += $(APPSDIR)/tagcache.c $(TCPLUG_SRC) 23 24$(TCPLUG_BUILDDIR)/db_commit.rock: $(TCPLUG_OBJ) 25 26# special pattern rule for compiling with extra flags 27$(TCPLUG_BUILDDIR)/%.o: $(TCPLUG_SRCDIR)/%.c $(TCPLUG_SRCDIR)/tagcache.make 28 $(SILENT)mkdir -p $(dir $@) 29 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(TCPLUG_FLAGS) -c $< -o $@ 30