Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 #
2 # Minimal makefile for 'icmpinfo'
3 # a tool to look at the icmp you receive
4 # modified from BSD ping by Laurent Demailly
5 # <[email protected]>
6 #
7 # see man page & README (Installation section at least)
8
9 VERS = 1.11
10
11 # You may need to add libraries here :
12 # like for Solaris, uncomment next line :
13 #LDLIBS= -lsocket -lnsl
14
15 # To override default compiler flags :
16 #CFLAGS=-O2 -s
17
18 # To change default compiler
19 #CC=gcc
20
21 RM = rm -f
22
23 LDFLAGS= $(CFLAGS)
24
25 OBJECTS= recvping.o print.o err.o icmpinfo.o
26 TARGET = icmpinfo
27
28 $(TARGET): $(OBJECTS)
29 $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS)
30
31 tgz: clean
32 rm -f CHECKSUMS.asc
33 md5sum * > ../CHECKSUMS
34 mv ../CHECKSUMS .
35 pgp -asw CHECKSUMS
36 chmod 444 CHECKSUMS.asc
37 cd .. ; tar cvf icmpinfo-$(VERS).tar icmpinfo-$(VERS) ; gzip icmpinfo-$(VERS).tar
38
39 clean:
40 $(RM) $(OBJECTS) $(TARGET) core *~
41