| 1 | # Configuration for MinGW on x86 machines. |
| 2 | |
| 3 | # Does platform support symlinks? |
| 4 | USE_SYMLINK:=false |
| 5 | |
| 6 | # File name extension of executables. |
| 7 | EXEEXT:=.exe |
| 8 | LIBRARYEXT:=.dll |
| 9 | |
| 10 | # Compiler flags. |
| 11 | COMPILE_FLAGS+= \ |
| 12 | -mthreads -mms-bitfields \ |
| 13 | -I/mingw/include -I/mingw/include/w32api \ |
| 14 | -DWIN32_LEAN_AND_MEAN -D__GTHREAD_HIDE_WIN32API \ |
| 15 | -DFS_CASEINSENSE |
| 16 | |
| 17 | # Linker flags. |
| 18 | LINK_FLAGS:= \ |
| 19 | -L/mingw/lib -L/mingw/lib/w32api -lws2_32 -lwsock32 -liphlpapi -lwinmm -ldsound -lsecur32 -lcrypt32 \ |
| 20 | -Wl,-subsystem,windows -static-libgcc -static-libstdc++ \ |
| 21 | $(LINK_FLAGS) |