From 0c7c46894d41dd976e6ee4587c29df1fc62d7459 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 25 Jun 2020 20:08:09 +0200 Subject: ssh custom client --- ssh/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ssh/Makefile') diff --git a/ssh/Makefile b/ssh/Makefile index 63cb462..b7c1d1b 100644 --- a/ssh/Makefile +++ b/ssh/Makefile @@ -6,7 +6,7 @@ LDFLAGS += $(shell pkg-config --libs libssh) .PHONY: all clean -all: server +all: server client clean: rm -f server *.o @@ -15,5 +15,8 @@ clean: server: server.o ../global.o ../memory.o $(CC) -o $@ $^ $(LDFLAGS) +client: client.o ../global.o ../memory.o + $(CC) -o $@ $^ $(LDFLAGS) + %.o: %.c $(wildcard *.h) $(CC) $(CFLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2