genode/libports/lib/mk/sdl_image.mk
2013-04-05 12:49:55 +02:00

13 lines
299 B
Makefile

include $(REP_DIR)/ports/sdl_image.inc
SRC_C = $(notdir $(wildcard $(REP_DIR)/contrib/$(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 $(REP_DIR)/contrib/$(SDL_IMAGE)
SHARED_LIB = yes