aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: 1ec30d6a6ba56915169e210ebf458f6b407c6ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: 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_pcap: test_pcap.o
	gcc -o $@ $^ $(LDFLAGS)

clean:
	rm -f *.o test_tunnel