diff Makefile.cross-mingw @ 1557:5e5f75b45f8d

Initial port to SDL2. Many things will not work now.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 May 2018 06:00:50 +0300
parents a9516570cc26
children dbdce9a20d14
line wrap: on
line diff
--- a/Makefile.cross-mingw	Sun May 13 05:59:42 2018 +0300
+++ b/Makefile.cross-mingw	Sun May 13 06:00:50 2018 +0300
@@ -16,11 +16,11 @@
 RANLIB = $(MINGW_PREFIX)ranlib
 RM ?= rm
 
-SDL_CFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl-config --cflags)
-SDL_LDFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl-config --libs)
+SDL_CFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --cflags)
+SDL_LDFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --libs)
 
 SDL_TTF_CFLAGS ?=
-SDL_TTF_LDFLAGS ?= -lSDL_ttf
+SDL_TTF_LDFLAGS ?= -lSDL2_ttf
 
 TREMOR_CFLAGS ?= -I$(MINGW_PATH)/include/tremor
 TREMOR_LDFLAGS ?= $(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a