aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-12 18:33:33 -0600
committerTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-12 18:33:33 -0600
commit3e5252d93c87c4cddf596d4030d736e2cea81557 (patch)
treef785dd089389c10483fdb74d4001d8fdef4c338e /Makefile
parentAdd WireGuard embeddable library (diff)
downloadwg-dynamic-3e5252d93c87c4cddf596d4030d736e2cea81557.tar.xz
wg-dynamic-3e5252d93c87c4cddf596d4030d736e2cea81557.zip
Implement server check iface
Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 30249db..0c47913 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ CFLAGS ?= ${CFLAGS_DEBUG} ${LIBRARY_INCLUDES}
LDFLAGS ?= ${LDFLAGS_DEBUG} ${LIBRARY_LDFLAGS}
.PHONY: clean style
PROGS = wg-dynamic-client wg-dynamic-server
-CLIENT_OBJS = wg_dynamic_client.o client.o protocol.capnp.o
-SERVER_OBJS = wg_dynamic_server.o server.o protocol.capnp.o
+CLIENT_OBJS = wg_dynamic_client.o client.o protocol.capnp.o wireguard.o
+SERVER_OBJS = wg_dynamic_server.o server.o protocol.capnp.o wireguard.o
all: ${PROGS}
wg-dynamic-client: ${CLIENT_OBJS}
@@ -36,6 +36,6 @@ protocol.capnp.c: protocol.capnp
clean:
rm -f ${PROGS} *.o *~
style:
- find . -type f \( -name "*.c" -or -name "*.h" \) -and \
- -not \( -name "*.capnp.c" -or -name "*.capnp.h" \) | \
- xargs clang-format -i --style=file
+ find . -path ./WireGuard -prune -o -type f \( -name "*.c" -or \
+ -name "*.h" \) -and -not \( -name "*.capnp.c" -or \
+ -name "*.capnp.h" \) -print | xargs clang-format -i --style=file