platform-mingw32.mk 488 B

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