[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]