aboutsummaryrefslogtreecommitdiff
path: root/ssh/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-06-25 20:08:09 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-06-25 20:08:09 +0200
commit0c7c46894d41dd976e6ee4587c29df1fc62d7459 (patch)
treee4072130615e58fbdbf3dfd931b0289df94bbfda /ssh/Makefile
parent1ed369561c342342377a30eb211d685335b01bd2 (diff)
ssh custom client
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 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 $@ $<