]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - BSDmakefile
Make it a function
[xonotic/gmqcc.git] / BSDmakefile
index 679e15aa33c28f301d2cdfee8354b28409600f43..b34cb1e7610c11a4215f29cbce9ff119d5a19e8e 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,7 @@ CFLAGS   +=  -Wall -Wextra -Werror -Wstrict-aliasing
                 -Wno-float-equal\
                 -Wno-unknown-warning-option\
                 -Wno-cast-align\
+                -Wno-assign-enum\
                 -pedantic-errors
 .else
 .    if $(CC) != g++
@@ -117,6 +114,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