]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - BSDmakefile
Fix for loops
[xonotic/gmqcc.git] / BSDmakefile
index 679e15aa33c28f301d2cdfee8354b28409600f43..44a742a138d7d9f524d718e53c5a7590fdf11b35 100644 (file)
@@ -3,8 +3,6 @@
 #
 .include "include.mk"
 
-.MAKE.JOB.PREFIX=
-
 GITTEST  != git describe --always 2>/dev/null
 VALTEST  != valgrind --version 2>/dev/null
 GITINFO  :=
@@ -13,8 +11,6 @@ GITINFO  :=
     GITINFO != git describe --always
 .endif
 
-CFLAGS   +=  -Wall -Wextra -Werror -Wstrict-aliasing
-
 .if $(CC) == clang
     CFLAGS +=   -Weverything\
                 -Wno-padded\
@@ -24,6 +20,9 @@ CFLAGS   +=  -Wall -Wextra -Werror -Wstrict-aliasing
                 -Wno-float-equal\
                 -Wno-unknown-warning-option\
                 -Wno-cast-align\
+                -Wno-assign-enum\
+                -Wno-empty-body\
+                -Wno-date-time\
                 -pedantic-errors
 .else
 .    if $(CC) != g++
@@ -117,6 +116,7 @@ exec.o: gmqcc.h opts.def
 fold.o: ast.h ir.h gmqcc.h opts.def parser.h lexer.h
 fs.o: gmqcc.h opts.def platform.h
 ftepp.o: gmqcc.h opts.def lexer.h
+hash.o: gmqcc.h opts.def
 intrin.o: parser.h gmqcc.h opts.def lexer.h ast.h ir.h
 ir.o: gmqcc.h opts.def ir.h
 lexer.o: gmqcc.h opts.def lexer.h