diff Makefile @ 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 85f76ec15090
line wrap: on
line diff
--- a/Makefile	Sun May 13 05:59:42 2018 +0300
+++ b/Makefile	Sun May 13 06:00:50 2018 +0300
@@ -10,11 +10,11 @@
 INSTALL ?= install
 RANLIB ?= ranlib
 
-SDL_CFLAGS ?= $(shell pkg-config --cflags sdl)
-SDL_LDFLAGS ?= $(shell pkg-config --libs sdl)
+SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2)
+SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2)
 
-SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL_ttf)
-SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL_ttf)
+SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL2_ttf)
+SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL2_ttf)
 
 TREMOR_CFLAGS ?= $(shell pkg-config --cflags ogg)
 TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a $(shell pkg-config --variable=libdir ogg)/libogg.a