File: Makefile

package info (click to toggle)
zcip 4-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 188 kB
  • ctags: 57
  • sloc: ansic: 1,004; makefile: 39
file content (28 lines) | stat: -rw-r--r-- 383 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
20
21
22
23
24
25
26
27
28


CC=gcc

CPPFLAGS=`libnet-config --cflags` `libnet-config --defines`
CFLAGS=-O2 -Wall -W
LDFLAGS=


OBJS=zcip.o lockfile.o




all: zcip make-arp


make-arp: make-arp.o
	$(CC) make-arp.o $(LDFLAGS) -o make-arp -lpcap `libnet-config --libs`

zcip: $(OBJS)
	$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o zcip -lpcap `libnet-config --libs`


clean:
	rm -f $(OBJS) zcip make-arp make-arp.o *~