2009-12-01 00:35:43 +03:00
|
|
|
all: test_socket test_tunnel test_exec test_pcap
|
2009-12-01 01:44:40 +03:00
|
|
|
CFLAGS=-I../include/ -g -Wall -I../build/
|
2010-10-01 01:50:16 +04:00
|
|
|
LDFLAGS=-lssh -L../build/src/
|
2008-03-17 05:31:22 +03:00
|
|
|
|
|
|
|
test_tunnel: test_tunnel.o authentication.o connection.o
|
|
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
|
2009-05-05 02:30:21 +04:00
|
|
|
test_exec: test_exec.o authentication.o connection.o
|
|
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
|
2009-12-01 00:35:43 +03:00
|
|
|
test_socket: test_socket.o
|
|
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
|
|
|
2009-11-09 01:42:41 +03:00
|
|
|
test_pcap: test_pcap.o
|
|
|
|
gcc -o $@ $^ $(LDFLAGS)
|
|
|
|
|
2008-03-17 05:31:22 +03:00
|
|
|
clean:
|
|
|
|
rm -f *.o test_tunnel
|