[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    [Libguestfs] Re: [PATCH 2/2] daemon: Link guestfs_protocol.[ch] into the daemon directory.
From:       Jim Meyering <jim () meyering ! net>
Date:       2009-11-26 11:34:46
Message-ID: 877htda59l.fsf () meyering ! net
[Download RAW message or body]

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)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic