A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1# -*- Makefile -*-
2
3# return the list of sources to build in the SRC variable
4
5# This uses the native 'gcc' compiler and not $(CC) since we use the -include
6# option and older gcc compiler doesn't have that. We use one such older
7# compiler for the win32 cross-compiles on Linux.
8#
9# The weird grep -v thing in here is due to Apple's stupidities and is needed
10# to make this do right when used on Mac OS X.
11
12SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
13$(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - 2>/dev/null \
14| grep -v "^#")