From 4d4cbdaf49f616fea47c543fe2cb74d1d8a1e7ff Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 25 Jun 2020 22:47:10 +0200 Subject: ssh: WIP ssh proxy server --- ssh/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ssh/Makefile') diff --git a/ssh/Makefile b/ssh/Makefile index b7c1d1b..68113cd 100644 --- a/ssh/Makefile +++ b/ssh/Makefile @@ -4,18 +4,19 @@ LDFLAGS = -pthread CFLAGS += $(shell pkg-config --cflags libssh) LDFLAGS += $(shell pkg-config --libs libssh) + .PHONY: all clean all: server client clean: - rm -f server *.o + rm -f server client *.o -server: server.o ../global.o ../memory.o +server: server.o util.o $(CC) -o $@ $^ $(LDFLAGS) -client: client.o ../global.o ../memory.o +client: client.o util.o $(CC) -o $@ $^ $(LDFLAGS) %.o: %.c $(wildcard *.h) -- cgit v1.2.3-54-g00ecf