aboutsummaryrefslogtreecommitdiff
path: root/ssh/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-12 21:39:11 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-12 21:39:11 +0200
commit923710803851b50991a2ce2569be3085ec31d4f2 (patch)
treecf6eca5428d4556f192508091d9c6853b9465902 /ssh/Makefile
parent535aaf7e3c4145df815916e1449818d52f357987 (diff)
Add simple client using the tomsg clientlib
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 487bb46..f33e02f 100644
--- a/ssh/Makefile
+++ b/ssh/Makefile
@@ -4,7 +4,7 @@ LDFLAGS = -pthread
CFLAGS += $(shell pkg-config --cflags libssh)
LDFLAGS += $(shell pkg-config --libs libssh)
-TARGETS = server_proxy client_proxy ssh_client
+TARGETS = server_proxy client_proxy ssh_client client
.PHONY: all clean
@@ -24,5 +24,8 @@ client_proxy: client_proxy.o sshnc.o util.o
ssh_client: ssh_client.o sshnc.o util.o
$(CC) -o $@ $^ $(LDFLAGS)
+client: client.o tomsg_clientlib.o sshnc.o string_view.o
+ $(CC) -o $@ $^ $(LDFLAGS)
+
%.o: %.c $(wildcard *.h)
$(CC) $(CFLAGS) -c -o $@ $<