Mercurial > hg > dmlib
view Makefile.cross-mingw @ 2208:90ec1ec89c56
Revamp the palette handling in lib64gfx somewhat, add helper functions to
lib64util for handling external palette file options and add support for
specifying one of the "internal" palettes or external (.act) palette file to
gfxconv and 64vw.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 05:01:12 +0300 |
parents | 5e5f75b45f8d |
children | dbdce9a20d14 |
line wrap: on
line source
# # For Win32/Win64 version cross-compilation via MinGW # compiler suite under Linux/Unix # DM_CFLAGS += -DDM_HAVE_MEMSET=1 MINGW_PREFIX ?= i686-w64-mingw32- MINGW_PATH ?= /usr/i686-w64-mingw32 DMLIB ?= ./ BINPATH ?= ./exe/ OBJPATH ?= ./obj/win32/ EXEEXT ?= .exe CC = $(MINGW_PREFIX)gcc AR = $(MINGW_PREFIX)ar RANLIB = $(MINGW_PREFIX)ranlib RM ?= rm SDL_CFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --cflags) SDL_LDFLAGS ?= $(shell $(MINGW_PATH)/bin/sdl2-config --libs) SDL_TTF_CFLAGS ?= SDL_TTF_LDFLAGS ?= -lSDL2_ttf TREMOR_CFLAGS ?= -I$(MINGW_PATH)/include/tremor TREMOR_LDFLAGS ?= $(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a LIBPNG_CFLAGS ?= -I$(MINGW_PATH)/include LIBPNG_LDFLAGS ?= $(MINGW_PATH)/lib/libpng.a ZLIB_CFLAGS ?= ZLIB_LDFLAGS ?= $(MINGW_PATH)/lib/libz.a TOOL_LDFLAGS ?= -mconsole -lmingw32 include $(DMLIB)Makefile.gen