summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-16 01:16:47 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-16 01:16:50 +0200
commitd3dd8ab957980d2d11301d64970b6ec3607f65bb (patch)
tree4671440d1183a3b12711f80b6c8c50b5ac8675c1 /Makefile
parentfinish quartz (diff)
downloadblueshift-d3dd8ab957980d2d11301d64970b6ec3607f65bb.tar.gz
blueshift-d3dd8ab957980d2d11301d64970b6ec3607f65bb.tar.bz2
blueshift-d3dd8ab957980d2d11301d64970b6ec3607f65bb.tar.xz
update makefile and gitignore
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0f7b86f..d717615 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ PKGCONFIG ?= pkg-config
OPTIMISE ?= -O6 -g
# Warnings settings for C code compilation
WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
- -Wtrampolines -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
+ -Wtrampolines -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
-Wno-variadic-macros -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align \
-Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wwrite-strings -Wlogical-op \
-Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance \
@@ -66,7 +66,7 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
# Warnings violated by Cython and therefore only use for C and not Cython
CWARN = -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow=5 \
-Wconversion -Wsuggest-attribute=pure -Wswitch-default -Wstrict-aliasing=1 \
- -fstrict-overflow
+ -fstrict-overflow -Wfloat-equal
#not used: -Wtraditional (tranditional C function definitions are ridiculous),
# -Wpadded (useless for this project), -Wc++-compat (bad practice)
#not used because of libxcb's API: -Waggregate-return, -Wtraditional-conversion (also useless)
@@ -380,5 +380,6 @@ uninstall:
.PHONY: all
clean:
- -rm -r bin obj src/blueshift_{randr,vidmode,drm}.c blueshift.{info,pdf,ps,dvi}
+ -rm -r bin obj src/blueshift_{randr,vidmode,drm,w32gid,quartz}.c \
+ blueshift.{info,pdf,ps,dvi} *.su src/*.su