aboutsummaryrefslogtreecommitdiff
path: root/ssh/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-09 23:02:46 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-09 23:02:46 +0200
commit0299ede6117d63c61318d6ebe991f16bc1fd542b (patch)
treeca3b2c85b160ec610c0d4081d8a065a851a85198 /ssh/Makefile
parentb68a1e782c4a4567dd5252fac1795804e2c20458 (diff)
ssh: Add client proxy
Diffstat (limited to 'ssh/Makefile')
-rw-r--r--ssh/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh/Makefile b/ssh/Makefile
index d77dc67..76d23c9 100644
--- a/ssh/Makefile
+++ b/ssh/Makefile
@@ -7,7 +7,7 @@ LDFLAGS += $(shell pkg-config --libs libssh)
.PHONY: all clean
-all: server client
+all: server client client_proxy
clean:
rm -f server client *.o
@@ -19,5 +19,8 @@ server: server.o util.o
client: client.o sshnc.o util.o
$(CC) -o $@ $^ $(LDFLAGS)
+client_proxy: client_proxy.o sshnc.o util.o
+ $(CC) -o $@ $^ $(LDFLAGS)
+
%.o: %.c $(wildcard *.h)
$(CC) $(CFLAGS) -c -o $@ $<