Add SDL flags and libs to objects which use it

This commit is contained in:
Jannik Vogel 2018-07-05 00:09:24 +02:00 committed by Matt
parent 50c0e6a45d
commit 67500be6e6
2 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -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)