makefile.defs.mingw64 695 B

1234567891011121314151617181920212223242526272829
  1. # File: makefile.defs.mingw64
  2. # System: MinGW on Windows under Cygwin
  3. # Paul Boersma, 3 August 2018
  4. PREFIX = x86_64-w64-mingw32-
  5. CC = $(PREFIX)gcc -std=gnu99
  6. # gnu++17 instead of c++17 is necessary to define M_PI in external code
  7. CXX = $(PREFIX)g++ -std=gnu++17 -Wshadow
  8. CFLAGS = -municode -D_FILE_OFFSET_BITS=64 -O3
  9. # Probably implicit: -m64 -mwin32 -march=x86_64 -mtune=generic
  10. CXXFLAGS = $(CFLAGS)
  11. LINK = $(PREFIX)g++
  12. EXECUTABLE = Praat.exe
  13. LIBS = -lwinmm -lwsock32 -lcomctl32 -lole32 -lgdi32 -lgdiplus -lcomdlg32 -static-libgcc -static-libstdc++ -mwindows -static
  14. AR = $(PREFIX)ar
  15. RANLIB = $(PREFIX)ranlib
  16. WINDRES = $(PREFIX)windres
  17. ICON = praat_win.o
  18. MAIN_ICON = main/praat_win.o