From 7cfede3e206592ad0e4cb7a3a63a1e18ee7a5bad Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 12 Jul 2020 12:12:54 +0200 Subject: ssh: Some executable renamings --- ssh/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ssh/Makefile') diff --git a/ssh/Makefile b/ssh/Makefile index 76d23c9..487bb46 100644 --- a/ssh/Makefile +++ b/ssh/Makefile @@ -4,22 +4,24 @@ LDFLAGS = -pthread CFLAGS += $(shell pkg-config --cflags libssh) LDFLAGS += $(shell pkg-config --libs libssh) +TARGETS = server_proxy client_proxy ssh_client + .PHONY: all clean -all: server client client_proxy +all: $(TARGETS) clean: - rm -f server client *.o + rm -f $(TARGETS) *.o -server: server.o util.o +server_proxy: server_proxy.o util.o $(CC) -o $@ $^ $(LDFLAGS) -client: client.o sshnc.o util.o +client_proxy: client_proxy.o sshnc.o util.o $(CC) -o $@ $^ $(LDFLAGS) -client_proxy: client_proxy.o sshnc.o util.o +ssh_client: ssh_client.o sshnc.o util.o $(CC) -o $@ $^ $(LDFLAGS) %.o: %.c $(wildcard *.h) -- cgit v1.2.3-70-g09d2