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