mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
20 lines
523 B
Makefile
20 lines
523 B
Makefile
include $(REP_DIR)/ports/sdl_mixer.inc
|
|
|
|
# exclude example programs
|
|
FILTER_OUT = playmus.c playwave.c
|
|
|
|
ALL_SDL_MIXER_SRC_C = $(notdir $(wildcard $(REP_DIR)/contrib/$(SDL_MIXER)/*.c))
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT), $(ALL_SDL_MIXER_SRC_C))
|
|
|
|
LIBS += libc libm sdl
|
|
|
|
# suppress warnings of 3rd-party code
|
|
CC_OPT_music = -Wno-unused-label -Wno-unused-function
|
|
CC_OPT_load_aiff = -Wno-unused-but-set-variable
|
|
CC_OPT_wavestream = -Wno-unused-but-set-variable
|
|
|
|
vpath %.c $(REP_DIR)/contrib/$(SDL_MIXER)
|
|
|
|
SHARED_LIB = yes
|