summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4f76078..c11adbd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
+STRICT=-Wall -Wcast-align -Wextra -Wwrite-strings -Wunsafe-loop-optimizations -Wlogical-op
+
all:
- $(CXX) -o ptftool -g -Wall ptftool.cc ptfformat.cc
- $(CXX) -o ptunxor -g -Wall ptunxor.cc ptfformat.cc
+ $(CXX) -o ptftool -g ${STRICT} ptftool.cc ptfformat.cc
+ $(CXX) -o ptunxor -g ${STRICT} ptunxor.cc ptfformat.cc
clean:
rm ptftool ptunxor