diff options
Diffstat (limited to 'ssh/Makefile')
| -rw-r--r-- | ssh/Makefile | 7 | 
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)  | 
