]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Updating makefile to remove all the not yet used stuff
[xonotic/gmqcc.git] / Makefile
index a4216a54546c4a7c519bf3de1d36fcfc0080497e..feaf6111fbd4bf84549c99d2e8dc5ac7f2c48e59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,34 +3,25 @@ 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-missing-noreturn \
-               -Wno-ignored-qualifiers \
-               -Wno-unused-macros \
-               -Wno-format-nonliteral \
-               -Wno-shadow
+               -Wno-padded                   \
+               -Wno-format-nonliteral
 
 endif
-OBJ     = lex.o       \
+OBJ     = \
           error.o     \
-          parse.o     \
-          typedef.o   \
           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