aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-15 22:04:28 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-15 22:04:28 +0200
commite4791c8a423dd7f981bd81775e8740a1da0f26fb (patch)
treef60cf43de96d39270b9a8a00600b5ad814f76a19 /Makefile
parentd6452189a87b5460e11aff3be19f8e31403e58c2 (diff)
downloadosc-graphics-e4791c8a423dd7f981bd81775e8740a1da0f26fb.tar.gz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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