X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=9101d2b12a3600ae8e410e3b8ea8d31decdcd8de;hb=02b4c7b7c1639af8666f9a093d6dc4f6ac30e0f4;hp=fe0f5fc3ff5b3b08b60fb091f7739b20ae50762a;hpb=f4bc6ba08aae93b42e674295224e36eeac677420;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index fe0f5fc..9101d2b 100644 --- a/Makefile +++ b/Makefile @@ -3,33 +3,27 @@ CFLAGS += -Wall -I. -pedantic-errors -std=c90 #turn on tons of warnings if clang is present ifeq ($(CC), clang) - CFLAGS += \ - -Weverything \ - -Wno-missing-prototypes \ - -Wno-unused-parameter \ - -Wno-sign-compare \ - -Wno-implicit-fallthrough \ - -Wno-sign-conversion \ - -Wno-conversion \ + CFLAGS += \ + -Weverything \ + -Wno-missing-prototypes \ + -Wno-unused-parameter \ + -Wno-sign-compare \ + -Wno-implicit-fallthrough \ + -Wno-sign-conversion \ + -Wno-conversion \ -Wno-disabled-macro-expansion \ - -Wno-padded \ - -Wno-undef \ - -Wno-conditional-uninitialized \ + -Wno-padded \ -Wno-format-nonliteral endif -OBJ = lex.o \ - error.o \ - parse.o \ - typedef.o \ +OBJ = \ util.o \ code.o \ - asm.o \ ast.o \ - ir.o + ir.o OBJ_A = test/ast-test.o OBJ_I = test/ir-test.o -OBJ_C = main.o +OBJ_C = main.o lexer.o parser.o #default is compiler only default: gmqcc