13
0
Fork 1

tools/Makefile fix for linking against pcap

thanks to Manu and Michael for finding and fixing


git-svn-id: https://dedected.org/svn/trunk@49 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
mazzoo 2009-01-28 07:40:32 +00:00
parent eacd1ef592
commit aef365149c
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ PCAP_PROGS=pcapstein dect_cli
all:$(PROGS) $(PCAP_PROGS)
$(PCAP_PROGS): $(foreach p,$(PCAP_PROGS), $p.c)
$(CC) $(CFLAGS) -lpcap $@.c -o $@
$(CC) $(CFLAGS) $@.c -o $@ -lpcap
clean:
rm -f $(PROGS) $(PCAP_PROGS)