diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-12 12:12:54 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-12 12:12:54 +0200 |
commit | 7cfede3e206592ad0e4cb7a3a63a1e18ee7a5bad (patch) | |
tree | aa177597fd77b1388e26df4579d796042309ac11 /ssh/Makefile | |
parent | a0672edaeaf9f4da0e9f6bf6dbe787e1386fa713 (diff) |
ssh: Some executable renamings
Diffstat (limited to 'ssh/Makefile')
-rw-r--r-- | ssh/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
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) |