aboutsummaryrefslogtreecommitdiff
path: root/ssh/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-06-25 22:47:10 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-06-25 22:47:10 +0200
commit4d4cbdaf49f616fea47c543fe2cb74d1d8a1e7ff (patch)
tree7aaee63e8fd4e87640efa5c3a63ffe7926c10fae /ssh/Makefile
parent0c7c46894d41dd976e6ee4587c29df1fc62d7459 (diff)
ssh: WIP ssh proxy server
Diffstat (limited to 'ssh/Makefile')
-rw-r--r--ssh/Makefile7
1 files changed, 4 insertions, 3 deletions
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)