File: Makefile

package info (click to toggle)
libssh 0.5.4-1%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,364 kB
  • sloc: ansic: 27,753; cpp: 377; makefile: 22; sh: 22; python: 9
file content (19 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (2)
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 -I../build/
LDFLAGS=-lssh -L../build/src/

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