From e4791c8a423dd7f981bd81775e8740a1da0f26fb Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 15 Sep 2012 22:04:28 +0200 Subject: allow setting alpha values for image and video layers * for image layers, we must manually alpha blit if the image surface has an alpha channel (surf_alpha) * also, fill screen with black initially --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 19a0221..b71021d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ LIBLO_LDFLAGS := $(shell pkg-config liblo --libs) CFLAGS := -std=c99 -Wall -g -O0 \ $(SDL_CFLAGS) $(SDL_IMAGE_CFLAGS) $(SDL_GFX_CFLAGS) \ $(LIBVLC_CFLAGS) $(LIBLO_CFLAGS) -LDFLAGS := $(SDL_LDFLAGS) $(SDL_IMAGE_LDFLAGS) $(SDL_GFX_LDFLAGS) \ +LDFLAGS := -lm \ + $(SDL_LDFLAGS) $(SDL_IMAGE_LDFLAGS) $(SDL_GFX_LDFLAGS) \ $(LIBVLC_LDFLAGS) $(LIBLO_LDFLAGS) all : osc-graphics -- cgit v1.2.3