diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-06-25 20:08:09 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-06-25 20:08:09 +0200 |
commit | 0c7c46894d41dd976e6ee4587c29df1fc62d7459 (patch) | |
tree | e4072130615e58fbdbf3dfd931b0289df94bbfda /ssh/Makefile | |
parent | 1ed369561c342342377a30eb211d685335b01bd2 (diff) |
ssh custom client
Diffstat (limited to 'ssh/Makefile')
-rw-r--r-- | ssh/Makefile | 5 |
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 $@ $< |