[Libguestfs] Re: [PATCH 2/2] daemon: Link guestfs_protocol.[ch] into the daemon directory.

Jim Meyering jim at meyering.net
Thu Nov 26 11:34:46 UTC 2009


Richard W.M. Jones wrote:

> On Thu, Nov 26, 2009 at 12:17:45PM +0100, Jim Meyering wrote:
>> I haven't received this yet, but read from the archive:
>>
>>    https://www.redhat.com/archives/libguestfs/2009-November/msg00268.html
>>
>> The only suspicious part is the trailing ".c" on the command below:
>>
>> +$(libsrcdir)/guestfs_protocol.c: force
>> +	$(MAKE) -C $(libsrcdir) guestfs_protocol.c
>> +$(libsrcdir)/guestfs_protocol.h: force
>> +	$(MAKE) -C $(libsrcdir) guestfs_protocol.c
>>
>> Shouldn't that be .h?
>
> Yes it should.  I'll fix this mistake before pushing it.

I think we're requiring GNU make.
If so, you can use this:

$(libsrcdir)/guestfs_protocol.h $(libsrcdir)/guestfs_protocol.c: force
	$(MAKE) -C $(libsrcdir) $(@F)




More information about the Libguestfs mailing list