mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
sdl-config flags are now separated into INCFLAGS and COMFLAGS in sdl.mak. This fixes "make depend". [Couriersud]
This commit is contained in:
parent
9861df0600
commit
9ad9840545
@ -364,7 +364,8 @@ else
|
|||||||
|
|
||||||
# FIXME: remove the directfb ref. later. This is just there for now to work around an issue with SDL1.3.
|
# FIXME: remove the directfb ref. later. This is just there for now to work around an issue with SDL1.3.
|
||||||
INCPATH += -I$(SDL_INSTALL_ROOT)/include/directfb
|
INCPATH += -I$(SDL_INSTALL_ROOT)/include/directfb
|
||||||
INCPATH += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed 's:/SDL::'`
|
INCPATH += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-D[^ ]*\)::g'`
|
||||||
|
CCOMFLAGS += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-I[^ ]*\)::g'`
|
||||||
LIBS += -lm `$(SDL_INSTALL_ROOT)/bin/sdl-config --libs`
|
LIBS += -lm `$(SDL_INSTALL_ROOT)/bin/sdl-config --libs`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user