Commit ccfc7205 authored by Sam Lantinga's avatar Sam Lantinga

Fixed include paths for Visual C++

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404222
parent 7b31c3e8
CFLAGS := -W -Wall -Wextra -g -I. `sdl-config --cflags` CFLAGS := -W -Wall -Wextra -g `sdl-config --cflags`
LDFLAGS := `sdl-config --libs` LDFLAGS := `sdl-config --libs`
# If it doesn't pick up defaults # 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 #LDFLAGS := -lm -ldl -lesd -lpthread
SRC := testsdl.c \ SRC := testsdl.c \
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_at.h" #include "../SDL_at.h"
/** /**
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_at.h" #include "../SDL_at.h"
#include "common/common.h" #include "common.h"
/** /**
......
...@@ -4,17 +4,17 @@ ...@@ -4,17 +4,17 @@
# define IMAGES_H # define IMAGES_H
#include "common/common.h" #include "common.h"
/* /*
* Pull in images for testcases. * Pull in images for testcases.
*/ */
#include "common/img_primitives.c" #include "img_primitives.c"
#include "common/img_primitivesblend.c" #include "img_primitivesblend.c"
#include "common/img_face.c" #include "img_face.c"
#include "common/img_blit.c" #include "img_blit.c"
#include "common/img_blitblend.c" #include "img_blitblend.c"
#endif /* IMAGES_H */ #endif /* IMAGES_H */
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_at.h"
#include "SDL_endian.h" #include "SDL_endian.h"
#include "SDL_cpuinfo.h" #include "SDL_cpuinfo.h"
#include "../SDL_at.h"
/* /*
......
...@@ -8,15 +8,15 @@ ...@@ -8,15 +8,15 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_at.h" #include "../SDL_at.h"
#include "common/common.h" #include "../common/common.h"
/* /*
* Pull in images for testcases. * Pull in images for testcases.
*/ */
#include "common/images.h" #include "../common/images.h"
#define SCREEN_W 80 #define SCREEN_W 80
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_at.h" #include "../SDL_at.h"
#define RWOPS_READ "rwops/read" #define RWOPS_READ "rwops/read"
......
...@@ -10,15 +10,15 @@ ...@@ -10,15 +10,15 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_surface.h" #include "SDL_surface.h"
#include "SDL_video.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. * Pull in images for testcases.
*/ */
#include "common/images.h" #include "../common/images.h"
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment