view Makefile.gwin @ 29:a3657801e5cb

Added generic Makefile.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 16 Mar 2013 13:58:50 +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