Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
1556:8f06c23e197d | 1557:5e5f75b45f8d |
---|---|
14 CC = $(MINGW_PREFIX)gcc | 14 CC = $(MINGW_PREFIX)gcc |
15 AR = $(MINGW_PREFIX)ar | 15 AR = $(MINGW_PREFIX)ar |
16 RANLIB = $(MINGW_PREFIX)ranlib | 16 RANLIB = $(MINGW_PREFIX)ranlib |
17 RM ?= rm | 17 RM ?= rm |
18 | 18 |
19 SDL_CFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl-config --cflags) | 19 SDL_CFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --cflags) |
20 SDL_LDFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl-config --libs) | 20 SDL_LDFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --libs) |
21 | 21 |
22 SDL_TTF_CFLAGS ?= | 22 SDL_TTF_CFLAGS ?= |
23 SDL_TTF_LDFLAGS ?= -lSDL_ttf | 23 SDL_TTF_LDFLAGS ?= -lSDL2_ttf |
24 | 24 |
25 TREMOR_CFLAGS ?= -I$(MINGW_PATH)/include/tremor | 25 TREMOR_CFLAGS ?= -I$(MINGW_PATH)/include/tremor |
26 TREMOR_LDFLAGS ?= $(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a | 26 TREMOR_LDFLAGS ?= $(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a |
27 | 27 |
28 LIBPNG_CFLAGS ?= -I$(MINGW_PATH)/include | 28 LIBPNG_CFLAGS ?= -I$(MINGW_PATH)/include |