config-mingw64-win32.mk 819 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. CC = i686-w64-mingw32-gcc$(MINGW_FLAVOUR)
  2. CXX = i686-w64-mingw32-g++$(MINGW_FLAVOUR)
  3. LD = i686-w64-mingw32-g++$(MINGW_FLAVOUR)
  4. AR = i686-w64-mingw32-ar$(MINGW_FLAVOUR)
  5. CXXFLAGS_STDCXX = -std=c++17
  6. CFLAGS_STDC = -std=c99
  7. CXXFLAGS += $(CXXFLAGS_STDCXX)
  8. CFLAGS += $(CFLAGS_STDC)
  9. CPPFLAGS += -DWIN32 -D_WIN32
  10. CXXFLAGS += -municode -mconsole -mthreads
  11. CFLAGS += -municode -mconsole -mthreads
  12. LDFLAGS +=
  13. LDLIBS += -lm -lole32 -lrpcrt4 -lwinmm
  14. ARFLAGS := rcs
  15. PC_LIBS_PRIVATE += -lole32 -lrpcrt4
  16. include build/make/warnings-gcc.mk
  17. EXESUFFIX=.exe
  18. SOSUFFIX=.dll
  19. SOSUFFIXWINDOWS=1
  20. DYNLINK=0
  21. SHARED_LIB=1
  22. STATIC_LIB=0
  23. SHARED_SONAME=0
  24. IS_CROSS=1
  25. NO_ZLIB=1
  26. NO_LTDL=1
  27. NO_DL=1
  28. NO_MPG123=1
  29. NO_OGG=1
  30. NO_VORBIS=1
  31. NO_VORBISFILE=1
  32. NO_PORTAUDIO=1
  33. NO_PORTAUDIOCPP=1
  34. NO_PULSEAUDIO=1
  35. NO_SDL=1
  36. NO_SDL2=1
  37. NO_SNDFILE=1
  38. NO_FLAC=1