view Makefile.w32 @ 60:f28cd66356f6

Initial work for bitmapped fonts and text drawing. Also moved TTF header stuff to dmtext.h.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Oct 2012 09:46:56 +0300
parents 6e169d87d963
children e1b6aa3017c2
line wrap: on
line source

#
# For win32 version cross-compilation with MinGW suite @ Linux
#
MINGW_PREFIX=i686-w64-mingw32-
MINGW_PATH=/usr/i686-w64-mingw32

DMLIB = ./
BINPATH=./exe/
OBJPATH=./win32/
EXEEXT=.exe

# 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