cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: patch to update generated vc Makefiles

From: Yang Tse <yangsita_at_gmail.com>
Date: Fri, 20 Nov 2009 02:07:44 +0100

2009/11/19, David Byron wrote:

> > No matter if this patch is applied or not you will have to 'build' the
> > vc8 or vc9 targets in order to get the vc8 or vc9 makefiles rebuilt if
> > Makefile.vc6 is updated. IOW the dependencies you are introducing here
> > don't improve on current situation.
>
> They do improve the current situation for people like me with additional
> Makefiles that use Makefile.vc8 or vc9 that have recipes like this:
>
> lib/Makefile.vc8: Makefile.dist lib/Makefile.vc6
> make -f Makefile.dist lib/Makefile.vc8
>
> src/Makefile.vc8: Makefile.dist src/Makefile.vc6
> make -f Makefile.dist src/Makefile.vc8
>
> Perhaps this patch with more dependencies is more helpful?

You would achieve nearly the same, without needing to modify
Makefile.dist, if your additional makefiles would use the following
rules instead of the ones you have posted above:

lib/Makefile.vc8: Makefile.dist lib/Makefile.vc6
      make -f Makefile.dist vc8

src/Makefile.vc8: Makefile.dist src/Makefile.vc6
      make -f Makefile.dist vc8

Each rule would generate both the 'lib' and the 'src' makefile.vc8

But certainly, if you want to have individual targets the first
version of your patch would be needed to achieve that.

If you still feel you need it, inisist and I'll commit it.

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-20

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET