inweb-bootstrap/Materials/windows-make-settings.mk

25 lines
1.3 KiB
Makefile
Raw Normal View History

# 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
# Use the MinGW x64 clang compiler
CC = x86_64-w64-mingw32-clang -std=c99 -c $(MANYWARNINGS) $(CCOPTS) -g
INDULGENTCC = x86_64-w64-mingw32-clang -std=c99 -c $(FEWERWARNINGS) $(CCOPTS) -g
2019-02-04 22:26:45 +00:00
# Define the Windows platform preprocessor symbol
CCOPTS = -DPLATFORM_WINDOWS=1 -D_WIN32_WINNT=0x0600
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 -ferror-limit=1000
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
LINK = x86_64-w64-mingw32-clang $(CCOPTS) -g
LINKEROPTS =
2019-02-04 22:26:45 +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
GLULXEOS = OS_WIN32