From ff361562838a86dc271eaef916f7c5d50efd1491 Mon Sep 17 00:00:00 2001 From: Dalton Woodard Date: Tue, 14 Oct 2014 23:21:03 -0700 Subject: [PATCH] Small update to change notes in Makefile. --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8fea7d5..4bd4abb 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,12 @@ # change notes: -# filter out -Werror when compiling with gcc. It chooses to warn about strange things sometimes. -# Compiles will all flags below on clang with -Werror. +# filter out -Werror when compiling ptest. GCC chooses to warn about strange things sometimes. +# mpc.c and mpc.h ompile will all flags below on clang and gcc with -Werror. CC = gcc -CFLAGS = -std=c11 -O3 -g -Wall -Wextra -Wformat=2 -Wshadow \ +CFLAGS = -std=c11 -O3 -g -Werror -Wall -Wextra -Wformat=2 -Wshadow \ -Wno-format-nonliteral -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition \ -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wswitch-default -ifneq ($(CC),gcc) - $(CFLAGS) += -Werror -endif - TESTS = $(wildcard tests/*.c) EXAMPLES = $(wildcard examples/*.c) EXAMPLESEXE = $(EXAMPLES:.c=)