From 923710803851b50991a2ce2569be3085ec31d4f2 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 12 Jul 2020 21:39:11 +0200 Subject: Add simple client using the tomsg clientlib --- ssh/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ssh/Makefile') 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 $@ $< -- cgit v1.2.3-70-g09d2