Mercurial > hg > demos > krapula
view Makefile.gwin @ 36:d17d31b736c2
Improve build system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Oct 2012 06:47:16 +0300 |
parents | |
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