aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: 673534657c8d4ac897fe883ce9b43f020a280078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: test_socket test_tunnel test_exec test_pcap
CFLAGS=-I../include/ -g -Wall
LDFLAGS=-lssh -L../build/libssh/

test_tunnel: test_tunnel.o authentication.o connection.o
	gcc -o $@ $^ $(LDFLAGS)

test_exec: test_exec.o authentication.o connection.o
	gcc -o $@ $^ $(LDFLAGS)

test_socket: test_socket.o
	gcc -o $@ $^ $(LDFLAGS)


test_pcap: test_pcap.o
	gcc -o $@ $^ $(LDFLAGS)

clean:
	rm -f *.o test_tunnel