diff options
author | Julien Dessaux | 2018-06-20 13:23:48 +0200 |
---|---|---|
committer | Julien Dessaux | 2018-06-20 13:23:48 +0200 |
commit | 8c04f0d56d88ebea808d5505dcee07e8d197e360 (patch) | |
tree | 81f8e3f59c17ab234eb95c7812adb0054779a117 /GNUmakefile | |
parent | Initial import with working simple server based on libssh examples (diff) | |
download | bastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.tar.gz bastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.tar.bz2 bastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.zip |
Made a working ssh proxy server
Diffstat (limited to '')
-rw-r--r-- | GNUmakefile | 9 |
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 |