# File: makefile.defs.cygwin64

# System: Cygwin on Windows
# Paul Boersma, 3 August 2018

CC = gcc -std=gnu99

CXX = g++ -std=gnu++17 -Wshadow

CFLAGS = -mwin32 -DUNICODE -D_FILE_OFFSET_BITS=64 -O1
# Probably implicit: -m64 -mwin32 -march=x86_64 -mtune=generic

CXXFLAGS = $(CFLAGS)

LINK = g++

EXECUTABLE = Praat.exe

LIBS = -lwinmm -lwsock32 -lcomctl32 -lole32 -lgdi32 -lgdiplus -lcomdlg32 -static-libgcc -static-libstdc++ -mwindows

AR = ar
RANLIB = ranlib
WINDRES = windres
ICON = praat_win.o
MAIN_ICON = main/praat_win.o
