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