genode/repos/libports/lib/mk/sdl_image.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

16 lines
361 B
Makefile

SDL_IMAGE_PORT_DIR := $(call select_from_ports,sdl_image)
SRC_C = $(notdir $(wildcard $(SDL_IMAGE_PORT_DIR)/src/lib/sdl_image/IMG*.c))
LIBS += libc libm sdl jpeg libpng zlib
SUPPORTED_FORMATS = PNG JPG TGA PNM XPM
CC_OPT += $(addprefix -DLOAD_,$(SUPPORTED_FORMATS))
vpath %.c $(SDL_IMAGE_PORT_DIR)/src/lib/sdl_image
SHARED_LIB = yes
CC_CXX_WARN_STRICT =