diff --git a/hw/xbox/Makefile.objs b/hw/xbox/Makefile.objs index 6938798715..ce018cb898 100644 --- a/hw/xbox/Makefile.objs +++ b/hw/xbox/Makefile.objs @@ -10,3 +10,6 @@ obj-y += chihiro-usb.o obj-y += dsp/ obj-y += nv2a/ + +xid-sdl.o-cflags := $(SDL_CFLAGS) +xid-sdl.o-libs := $(SDL_LIBS) diff --git a/hw/xbox/dsp/Makefile.objs b/hw/xbox/dsp/Makefile.objs index 93a180dee6..9313398201 100644 --- a/hw/xbox/dsp/Makefile.objs +++ b/hw/xbox/dsp/Makefile.objs @@ -1 +1,5 @@ obj-y += dsp.o dsp_cpu.o dsp_dma.o + +# dsp_cpu.c uses SDL_GetTicks() +dsp_cpu.o-cflags := $(SDL_CFLAGS) +dsp_cpu.o-libs := $(SDL_LIBS)