comparison 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
comparison
equal deleted inserted replaced
1556:8f06c23e197d 1557:5e5f75b45f8d
8 OBJPATH ?= ./obj/unix/ 8 OBJPATH ?= ./obj/unix/
9 PREFIX ?= /usr/local 9 PREFIX ?= /usr/local
10 INSTALL ?= install 10 INSTALL ?= install
11 RANLIB ?= ranlib 11 RANLIB ?= ranlib
12 12
13 SDL_CFLAGS ?= $(shell pkg-config --cflags sdl) 13 SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2)
14 SDL_LDFLAGS ?= $(shell pkg-config --libs sdl) 14 SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2)
15 15
16 SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL_ttf) 16 SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL2_ttf)
17 SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL_ttf) 17 SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL2_ttf)
18 18
19 TREMOR_CFLAGS ?= $(shell pkg-config --cflags ogg) 19 TREMOR_CFLAGS ?= $(shell pkg-config --cflags ogg)
20 TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a $(shell pkg-config --variable=libdir ogg)/libogg.a 20 TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a $(shell pkg-config --variable=libdir ogg)/libogg.a
21 21
22 LIBPNG_CFLAGS ?= $(shell pkg-config --cflags libpng) 22 LIBPNG_CFLAGS ?= $(shell pkg-config --cflags libpng)