From ccfc72055c3c1362d2ab1bb76be90f811815fe2e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 22 Nov 2009 06:42:58 +0000 Subject: [PATCH] Fixed include paths for Visual C++ --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404222 --- test/automated/Makefile | 4 ++-- test/automated/audio/audio.c | 2 +- test/automated/common/common.c | 4 ++-- test/automated/common/images.h | 12 ++++++------ test/automated/platform/platform.c | 2 +- test/automated/render/render.c | 6 +++--- test/automated/rwops/rwops.c | 2 +- test/automated/surface/surface.c | 6 +++--- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/test/automated/Makefile b/test/automated/Makefile index 2d37606b8..7ea6d1506 100644 --- a/test/automated/Makefile +++ b/test/automated/Makefile @@ -1,10 +1,10 @@ -CFLAGS := -W -Wall -Wextra -g -I. `sdl-config --cflags` +CFLAGS := -W -Wall -Wextra -g `sdl-config --cflags` LDFLAGS := `sdl-config --libs` # If it doesn't pick up defaults -#CFLAGS := -I. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL +#CFLAGS := -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL #LDFLAGS := -lm -ldl -lesd -lpthread SRC := testsdl.c \ diff --git a/test/automated/audio/audio.c b/test/automated/audio/audio.c index d4096af60..0712c396d 100644 --- a/test/automated/audio/audio.c +++ b/test/automated/audio/audio.c @@ -8,7 +8,7 @@ #include "SDL.h" -#include "SDL_at.h" +#include "../SDL_at.h" /** diff --git a/test/automated/common/common.c b/test/automated/common/common.c index 4b9de64f0..fb0e14f01 100644 --- a/test/automated/common/common.c +++ b/test/automated/common/common.c @@ -8,9 +8,9 @@ #include "SDL.h" -#include "SDL_at.h" +#include "../SDL_at.h" -#include "common/common.h" +#include "common.h" /** diff --git a/test/automated/common/images.h b/test/automated/common/images.h index 1ec740a72..4ee3a94fd 100644 --- a/test/automated/common/images.h +++ b/test/automated/common/images.h @@ -4,17 +4,17 @@ # define IMAGES_H -#include "common/common.h" +#include "common.h" /* * Pull in images for testcases. */ -#include "common/img_primitives.c" -#include "common/img_primitivesblend.c" -#include "common/img_face.c" -#include "common/img_blit.c" -#include "common/img_blitblend.c" +#include "img_primitives.c" +#include "img_primitivesblend.c" +#include "img_face.c" +#include "img_blit.c" +#include "img_blitblend.c" #endif /* IMAGES_H */ diff --git a/test/automated/platform/platform.c b/test/automated/platform/platform.c index a5d48b14d..a41562b79 100644 --- a/test/automated/platform/platform.c +++ b/test/automated/platform/platform.c @@ -12,9 +12,9 @@ #include "SDL.h" -#include "SDL_at.h" #include "SDL_endian.h" #include "SDL_cpuinfo.h" +#include "../SDL_at.h" /* diff --git a/test/automated/render/render.c b/test/automated/render/render.c index 1f2606912..9827559ae 100644 --- a/test/automated/render/render.c +++ b/test/automated/render/render.c @@ -8,15 +8,15 @@ #include "SDL.h" -#include "SDL_at.h" +#include "../SDL_at.h" -#include "common/common.h" +#include "../common/common.h" /* * Pull in images for testcases. */ -#include "common/images.h" +#include "../common/images.h" #define SCREEN_W 80 diff --git a/test/automated/rwops/rwops.c b/test/automated/rwops/rwops.c index 84eba1605..3b402f217 100644 --- a/test/automated/rwops/rwops.c +++ b/test/automated/rwops/rwops.c @@ -8,7 +8,7 @@ #include "SDL.h" -#include "SDL_at.h" +#include "../SDL_at.h" #define RWOPS_READ "rwops/read" diff --git a/test/automated/surface/surface.c b/test/automated/surface/surface.c index 669893059..1c311beeb 100644 --- a/test/automated/surface/surface.c +++ b/test/automated/surface/surface.c @@ -10,15 +10,15 @@ #include "SDL.h" #include "SDL_surface.h" #include "SDL_video.h" -#include "SDL_at.h" +#include "../SDL_at.h" -#include "common/common.h" +#include "../common/common.h" /* * Pull in images for testcases. */ -#include "common/images.h" +#include "../common/images.h" /*