From 67500be6e6678adac563f76d0167269b1f01ca82 Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Thu, 5 Jul 2018 00:09:24 +0200 Subject: [PATCH] Add SDL flags and libs to objects which use it --- hw/xbox/Makefile.objs | 3 +++ hw/xbox/dsp/Makefile.objs | 4 ++++ 2 files changed, 7 insertions(+) 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)