mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
85a2ebc1c4
Issue #1082
14 lines
335 B
Makefile
14 lines
335 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
|
|
|
|
CC_OPT += $(addprefix -DLOAD_,$(SUPPORTED_FORMATS))
|
|
|
|
vpath %.c $(SDL_IMAGE_PORT_DIR)/src/lib/sdl_image
|
|
|
|
SHARED_LIB = yes
|