Mercurial > hg > dmlib
comparison Makefile.w32 @ 841:dd35d66c3714
Improve build process.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 Jul 2014 00:09:12 +0300 |
parents | a9d0d35476ae |
children | 4a2ed354ab4c |
comparison
equal
deleted
inserted
replaced
840:a9d0d35476ae | 841:dd35d66c3714 |
---|---|
1 # | 1 # |
2 # For win32 version cross-compilation with MinGW suite @ Linux | 2 # For win32 version cross-compilation with MinGW suite @ Linux |
3 # | 3 # |
4 DMLIB = ./ | |
5 BINPATH=./exe/ | |
6 OBJPATH=./obj/win32/ | |
7 EXEEXT=.exe | |
8 | |
4 MINGW_PREFIX=i686-w64-mingw32- | 9 MINGW_PREFIX=i686-w64-mingw32- |
5 MINGW_PATH=/usr/i686-w64-mingw32 | 10 MINGW_PATH=/usr/i686-w64-mingw32 |
6 | |
7 DMLIB = ./ | |
8 BINPATH=./exe/ | |
9 OBJPATH=./win32/ | |
10 EXEEXT=.exe | |
11 | 11 |
12 # C-compiler, flags and linker flags | 12 # C-compiler, flags and linker flags |
13 CC=$(MINGW_PREFIX)gcc | 13 CC=$(MINGW_PREFIX)gcc |
14 AR=$(MINGW_PREFIX)ar | 14 AR=$(MINGW_PREFIX)ar |
15 RANLIB=$(MINGW_PREFIX)ranlib | 15 RANLIB=$(MINGW_PREFIX)ranlib |