Mercurial > hg > demos > krapula
diff Makefile.w32 @ 36:d17d31b736c2
Improve build system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Oct 2012 06:47:16 +0300 |
parents | f5c5af85ccfd |
children |
line wrap: on
line diff
--- a/Makefile.w32 Thu Oct 04 06:42:20 2012 +0300 +++ b/Makefile.w32 Thu Oct 04 06:47:16 2012 +0300 @@ -4,23 +4,8 @@ MINGW_PREFIX=i686-w64-mingw32- MINGW_PATH=/usr/i686-w64-mingw32 -DMLIB = ./dmlib/ BINPATH ?= ./ OBJPATH ?= ./obj/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 - -BINARIES=krapula - -include $(DMLIB)Makefile.gen +include Makefile.gwin