aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-06-16 15:17:22 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-16 15:18:34 -0500
commit537fe2d63f744e7c96ff45b60d09486a81958e06 (patch)
tree1a2f0516c7a6b61e1cc0513240d14273c90eea5a
parent3f9ac9b39bd82b51f6aa46103836ae12bcbcb22e (diff)
downloadqemu-537fe2d63f744e7c96ff45b60d09486a81958e06.zip
qemu-537fe2d63f744e7c96ff45b60d09486a81958e06.tar.gz
qemu-537fe2d63f744e7c96ff45b60d09486a81958e06.tar.bz2
Make sure to use SDL_CFLAGS everywhere we include SDL headers
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile2
-rw-r--r--Makefile.target2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3177616..209b21f 100644
--- a/Makefile
+++ b/Makefile
@@ -208,7 +208,7 @@ keymaps.o: keymaps.c keymaps.h
sdl.o: sdl.c keymaps.h sdl_keysym.h
-sdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS)
+sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS)
acl.o: acl.h acl.c
diff --git a/Makefile.target b/Makefile.target
index 27de4b9..0159bf7 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -730,6 +730,8 @@ LDFLAGS+=-p
main.o: CFLAGS+=-p
endif
+vl.o: CFLAGS+=$(SDL_CFLAGS)
+
vl.o: qemu-options.h
monitor.o: qemu-monitor.h