changeset 22741:edaeb008ba93

Add explicit SDL include path. This should allow compilation even when MPlayer was configured without SDL support. Change the Makefile accordingly.
author diego
date Tue, 20 Mar 2007 01:20:57 +0000
parents 9128aa26244a
children 60911dcd3a4a
files TOOLS/Makefile TOOLS/bmovl-test.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/Makefile	Tue Mar 20 01:15:28 2007 +0000
+++ b/TOOLS/Makefile	Tue Mar 20 01:20:57 2007 +0000
@@ -46,7 +46,7 @@
 	$(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-sse\"  -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE   -DHAVE_MMX2
 
 bmovl-test$(EXESUF): bmovl-test.c
-	$(CC) -O3 -I/usr/include/SDL -lSDL_image -o $@ $<
+	$(CC) -O3 $(EXTRA_INC) -o $@ $< -lSDL_image
 
 gltest: gltest.c ../osdep/timer-lx.o
 	$(CC) -O4 -g -o $@ $^ -lglut
--- a/TOOLS/bmovl-test.c	Tue Mar 20 01:15:28 2007 +0000
+++ b/TOOLS/bmovl-test.c	Tue Mar 20 01:20:57 2007 +0000
@@ -4,8 +4,8 @@
 #include <fcntl.h>
 #include <string.h>
 #include <stdlib.h>
-#include <SDL.h>
-#include <SDL_image.h>
+#include <SDL/SDL.h>
+#include <SDL/SDL_image.h>
 
 #define DEBUG 0