diff --git a/test/Makefile b/test/Makefile index f5a167b..d10f28f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,9 +1,13 @@ CC = gcc ifeq ($(shell uname -s), Darwin) CC = clang +CFLAGS += -std=c99 -pedantic -Wall -Weverything -Werror +CFLAGS += -Wno-unknown-warning-option -Wno-switch-enum +endif +ifeq ($(shell uname -s), Linux) +CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror endif #DEBUG = -O0 -g -CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror CFLAGS += $(DEBUG) DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy DEFINES += -D UNITY_SUPPORT_64 -D UNITY_INCLUDE_DOUBLE -D UNITY_NO_WEAK