cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Watcom makefiles - some more ...

From: Adam Kellas <Adam.Kellas_at_gmail.com>
Date: Wed, 28 Jul 2010 20:57:08 -0400

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)

AK

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-29