view Makefile.gwin @ 39:57d67886153e

Update to latest engine changes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Oct 2012 03:24:47 +0300
parents d17d31b736c2
children 9cbb03e85597
line wrap: on
line source

#
# Generic Windows cross-compilation with MinGW suite @ Linux
# (included from Makefile.w32/w64)
#

DMLIB = ./dmlib/

# C-compiler, flags and linker flags
CC=$(MINGW_PREFIX)gcc
AR=$(MINGW_PREFIX)ar
RANLIB=$(MINGW_PREFIX)ranlib
RM=rm

SDL_CFLAGS=`$(MINGW_PATH)/bin/sdl-config --cflags`
SDL_LDFLAGS=`$(MINGW_PATH)/bin/sdl-config --libs` -lSDL -L$(BINPATH)

#CFLAGS=-mwindows
LDFLAGS=-lmingw32 -s

include $(DMLIB)Makefile.gen