Restored unmodified GNU make files.

This commit is contained in:
Pietro Gagliardi 2016-06-03 10:29:54 -04:00
parent 1903115bbd
commit 089793e25d
2 changed files with 19 additions and 2 deletions

View File

@ -27,7 +27,22 @@
# TODO /analyze requires us to write annotations everywhere
# TODO undecided flags from qo?
# -RTCc is not supplied because it's discouraged as of VS2015; see https://www.reddit.com/r/cpp/comments/46mhne/rtcc_rejects_conformant_code_with_visual_c_2015/d06auq5
CFLAGS += \
-W4 \
-wd4100 \
-TC \
-bigobj -nologo \
-RTC1 -RTCs -RTCu
# TODO prune these
# -EHsc is to shut the compiler up in some cases
CXXFLAGS += \
-W4 \
-wd4100 \
-TP \
-bigobj -nologo \
-RTC1 -RTCs -RTCu \
-EHsc
# TODO warnings on undefined symbols
LDFLAGS += \

View File

@ -46,9 +46,11 @@ LDFLAGS += $(NATIVE_UI_LDFLAGS)
# flags for OS X versioning
CFLAGS += \
-mmacosx-version-min=10.8
-mmacosx-version-min=10.8 \
-DMACOSX_DEPLOYMENT_TARGET=10.8
CXXFLAGS += \
-mmacosx-version-min=10.8
-mmacosx-version-min=10.8 \
-DMACOSX_DEPLOYMENT_TARGET=10.8
LDFLAGS += \
-mmacosx-version-min=10.8