[MPlayer-cvslog] r22759 - in trunk/TOOLS: Makefile bmovl-test.c

diego subversion at mplayerhq.hu
Tue Mar 20 02:20:57 CET 2007


Author: diego
Date: Tue Mar 20 02:20:57 2007
New Revision: 22759

Modified:
   trunk/TOOLS/Makefile
   trunk/TOOLS/bmovl-test.c

Log:
Add explicit SDL include path.  This should allow compilation even when
MPlayer was configured without SDL support.  Change the Makefile accordingly.


Modified: trunk/TOOLS/Makefile
==============================================================================
--- trunk/TOOLS/Makefile	(original)
+++ trunk/TOOLS/Makefile	Tue Mar 20 02:20:57 2007
@@ -46,7 +46,7 @@ fastmemcpybench: fastmemcpybench.c
 	$(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

Modified: trunk/TOOLS/bmovl-test.c
==============================================================================
--- trunk/TOOLS/bmovl-test.c	(original)
+++ trunk/TOOLS/bmovl-test.c	Tue Mar 20 02:20:57 2007
@@ -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
 



More information about the MPlayer-cvslog mailing list