curl-library
Re: Watcom makefiles - some more ...
Date: Thu, 29 Jul 2010 09:16:00 +0200
Hi Adam,
Am 29.07.2010 02:57, schrieb Adam Kellas:
> On 7/28/2010 7:08 PM, Dan Fandrich wrote:
>>> alternately there just came another idea into mind:
>>> instead of using the \ as line continuation character (which is the prob
>>> with wmake) we could just do in Makefile.inc:
>>> CSOURCES = file1.c file2.c file3.c
>>> CSOURCES += file4.c file5.c file6.c
>>
>> I'm pretty sure this isn't portable.
>
> No, but I'm pretty sure this is:
>
> CSOURCES1 = file1.c file2.c file3.c
> CSOURCES2 = file4.c file5.c file6.c
> CSOURCES = $(CSOURCES1) $(CSOURCES2)
I think for now we can stay with the backslash since 'wmake -u' seems to
work fine here; though I like your idea, and if we ever want to change
this for another make flavour this seems the way to go - therefore I
added your idea as comment to Makefile.inc so that it dont gets
forgotten ...
Gün.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-29