X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=29d91c42ec80cefe1eb9d0ff844c4d16ea44b32d;hb=41881823b728fa73edac9df45f2239c83f5fa9ca;hp=e7a648df2e9ed87f29f5c76efb70b2698a6ca0b3;hpb=a4198fc27e237816041bf9fbb6b66469e9ed6695;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index e7a648d..29d91c4 100644 --- a/Makefile +++ b/Makefile @@ -3,16 +3,16 @@ PREFIX := /usr/local BINDIR := $(PREFIX)/bin CC ?= clang -CFLAGS += -Wall -I. +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) @@ -57,7 +57,7 @@ clean: rm -f *.o gmqcc qcvm testsuite *.dat -$(OBJ) $(OBJ_C) $(OBJ_X): gmqcc.h +$(OBJ) $(OBJ_C) $(OBJ_X): gmqcc.h opts.def main.o: lexer.h parser.o: ast.h lexer.h ast.o: ast.h ir.h