Mercurial > hg > demos > krapula
diff Makefile.w64 @ 34:f5c5af85ccfd
Update Makefiles.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Oct 2012 06:36:52 +0300 |
parents | c12a8dda22bb |
children | d17d31b736c2 |
line wrap: on
line diff
--- a/Makefile.w64 Thu Oct 04 06:30:36 2012 +0300 +++ b/Makefile.w64 Thu Oct 04 06:36:52 2012 +0300 @@ -1,12 +1,14 @@ # -# For win32 version cross-compilation with MinGW suite @ Linux +# For win64 version cross-compilation with MinGW suite @ Linux # MINGW_PREFIX=x86_64-w64-mingw32- MINGW_PATH=/usr/x86_64-w64-mingw32 -BINPATH=./exe/ -OBJPATH=./win64/ -EXEEXT=-w64.exe +DMLIB = ./dmlib/ +BINPATH ?= ./exe/ +OBJPATH ?= ./win64/ +OBJPATH ?= ./obj/win32/ +EXEEXT ?= -w64.exe # C-compiler, flags and linker flags CC=$(MINGW_PREFIX)gcc @@ -16,9 +18,12 @@ SDL_CFLAGS=`$(MINGW_PATH)/bin/sdl-config --cflags` SDL_LDFLAGS=`$(MINGW_PATH)/bin/sdl-config --libs` -lSDL -L$(BINPATH) +TREMOR_CFLAGS=-I$(MINGW_PATH)/include/tremor +TREMOR_LDFLAGS=$(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a #CFLAGS=-mwindows LDFLAGS=-lmingw32 -s +BINARIES=krapula -include Makefile.gen +include $(DMLIB)Makefile.gen