Mercurial > hg > dmlib
view Makefile.w32 @ 24:b0f1b8544b62
Silence some warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 15:45:23 +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