Files
Upsilon/build/toolchain.windows.mak
Romain Goyet d70bad84f3 Rename the scripts folder to build
And the build folder to output
2019-09-18 17:46:38 +02:00

17 lines
456 B
Makefile

CC = x86_64-w64-mingw32-gcc
CXX = x86_64-w64-mingw32-g++
LD = x86_64-w64-mingw32-g++
EXE = exe
SFLAGS += -D_USE_MATH_DEFINES
LDFLAGS += -static
ifeq ($(DEBUG),0)
# Defining "-mwindows" prevents the app from launching an instance of cmd.exe
# when running the app. That terminal will receive stderr and stdout. The
# downside of not defining "-mwindows" is that you lose stdout and stderr.
LDFLAGS += -mwindows
endif
WINDRES = x86_64-w64-mingw32-windres