X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=84334157040d4bf900c8018964ac04bba6d0a62b;hb=613e1e7247c8dd271979b9e9d70ff7735ef5282b;hp=144fe4cabc2df97a3bcce432d56643c987353130;hpb=fcc57a1185121451d9410920a08da9f10e832f70;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index 144fe4c..8433415 100644 --- a/Makefile +++ b/Makefile @@ -3,16 +3,16 @@ PREFIX := /usr/local BINDIR := $(PREFIX)/bin CC ?= clang -CFLAGS += -Wall -I. -Os +CFLAGS += -Wall -Wextra -I. -pedantic-errors #turn on tons of warnings if clang is present ifeq ($(CC), clang) CFLAGS += \ -Weverything \ - -Wno-missing-prototypes \ -Wno-padded \ -Wno-format-nonliteral \ -Wno-disabled-macro-expansion \ - -Wno-conversion + -Wno-conversion \ + -Wno-missing-prototypes endif ifeq ($(track), no)