Ethereal-dev: Re: [ethereal-dev] Targets dependent on proto.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Wed, 12 Apr 2000 04:28:06 -0700
> (FWIW in the ethereal makefile the reference to .c.o goes:
> 
> .c.o:
>          $(COMPILE) -c $<
> 
> which is not what you were referring to, but there is no % at all! );

OK, so you're working with a source distribution rather than from a
source tree checked out from CVS, as I am.

In that case, the Makefile should contain

packet-ip.o: packet-ip.c config.h packet.h wiretap/wtap.h getopt.h \
	proto.h ipv4.h resolv.h packet-gre.h packet-ip.h packet-ipsec.h \
	packet-ipv6.h packet-ospf.h packet-pim.h packet-rsvp.h \
	packet-tcp.h packet-udp.h packet-vines.h packet-vrrp.h

so that it should have rebuilt "packet-ip.o" if it had an earlier mod
time than "proto.h".