2020-06-04 12:23:16 +00:00
|
|
|
# This is make-intools-settings.mk for Windows.
|
|
|
|
# To use, you will need to install Cygwin with the Mingw-w64 clang compiler.
|
2019-02-04 22:26:45 +00:00
|
|
|
|
2019-03-10 23:46:11 +00:00
|
|
|
INTEST = intest/Tangled/intest
|
|
|
|
INWEB = inweb/Tangled/inweb
|
|
|
|
|
2020-06-04 12:23:16 +00:00
|
|
|
# Use the MinGW x64 clang compiler
|
2021-03-08 15:37:16 +00:00
|
|
|
CC = x86_64-w64-mingw32-clang -std=c99 -c $(MANYWARNINGS) $(CCOPTS)
|
|
|
|
INDULGENTCC = x86_64-w64-mingw32-clang -std=c99 -c $(FEWERWARNINGS) $(CCOPTS)
|
2019-02-04 22:26:45 +00:00
|
|
|
|
2020-06-04 12:23:16 +00:00
|
|
|
# Define the Windows platform preprocessor symbol
|
2020-07-01 13:14:35 +00:00
|
|
|
CCOPTS = -DPLATFORM_WINDOWS=1 -D_WIN32_WINNT=0x0600
|
2020-07-05 11:50:23 +00:00
|
|
|
MANYWARNINGS = -Weverything -Wno-pointer-arith -Wno-unused-macros -Wno-shadow -Wno-cast-align -Wno-variadic-macros -Wno-missing-noreturn -Wno-missing-prototypes -Wno-unused-parameter -Wno-padded -Wno-missing-variable-declarations -Wno-unreachable-code-break -Wno-class-varargs -Wno-format-nonliteral -Wno-cast-qual -Wno-double-promotion -Wno-comma -Wno-strict-prototypes -Wno-extra-semi-stmt -Wno-used-but-marked-unused -ferror-limit=1000
|
2020-07-01 13:14:35 +00:00
|
|
|
FEWERWARNINGS = -Wno-implicit-int -Wno-dangling-else -Wno-pointer-sign -Wno-format-extra-args -Wno-tautological-compare -Wno-deprecated-declarations -Wno-logical-op-parentheses -Wno-format -Wno-extra-semi-stmt
|
2019-02-04 22:26:45 +00:00
|
|
|
|
2021-03-08 15:37:16 +00:00
|
|
|
LINK = x86_64-w64-mingw32-clang $(CCOPTS)
|
|
|
|
LINKEROPTS = -lshlwapi
|
2019-02-04 22:26:45 +00:00
|
|
|
|
2020-06-04 12:23:16 +00:00
|
|
|
# Set the standard Windows executable file extension
|
|
|
|
EXEEXTENSION = .exe
|
2019-02-04 22:26:45 +00:00
|
|
|
ARTOOL = ar -r
|
|
|
|
|
|
|
|
INFORM6OS = PC_WIN32
|
2020-06-04 12:23:16 +00:00
|
|
|
GLULXEOS = OS_WIN32
|
2021-03-08 15:37:16 +00:00
|
|
|
|