aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f6e0f7c..3bbefd6 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,6 @@
CC=clang
DEBUG=-g
-CFLAGS= ${DEBUG} -Wall -Werror -Wextra
+CFLAGS= ${DEBUG} -Wall -Werror -Wextra -Weverything -Wno-missing-prototypes -Wno-disabled-macro-expansion
sources=$(wildcard src/*.c)
OBJ=$(sources:.c=.o)
@@ -8,7 +8,8 @@ OBJ=$(sources:.c=.o)
all: bastion
bastion: $(OBJ)
- $(CC) ${DEBUG} -o bastion $(OBJ) -lssh -lpthread -lssh_threads -lutil
+ #$(CC) ${DEBUG} -o bastion $(OBJ) -lssh -lutil -lpthread -lssh_threads
+ $(CC) ${DEBUG} -o bastion $(OBJ) -lssh -lutil
clean:
$(RM) bastion *.[do] src/*.[do]
@@ -22,5 +23,5 @@ clean:
@rm -f $*.d.tmp
valgrind:
- valgrind --leak-check=full --show-leak-kinds=all --suppressions=$HOME/.valgrind_suppressions ./bastion
- #valgrind -v --leak-check=full --show-leak-kinds=all --suppressions=$HOME/.valgrind_suppressions --gen-suppressions=yes ./bastion
+ valgrind --leak-check=full --show-leak-kinds=all --trace-children=yes --suppressions=${HOME}/.valgrind_suppressions ./bastion
+ #valgrind -v --leak-check=full --show-leak-kinds=all --trace-children=yes --suppressions=${HOME}/.valgrind_suppressions --gen-suppressions=yes ./bastion