view Makefile.gwin @ 44:e6cb35183ace default tip

Create object file target directory automatically.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Mar 2013 07:23:05 +0200
parents f896fe6a98da
children
line wrap: on
line source

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

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

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

CFLAGS = -march=pentium-m
LDFLAGS = -lmingw32


include Makefile.gen