Added a comment with an alternate idea to avoid the backslash line contination character.
authorGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 07:06:55 +0000 (09:06 +0200)
committerGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 07:06:55 +0000 (09:06 +0200)
lib/Makefile.inc
src/Makefile.inc

index 328e57a..17e2d36 100644 (file)
@@ -1,4 +1,11 @@
 # ./lib/Makefile.inc
+# Using the backslash as line continuation character might be problematic
+# with some make flavours, as Watcom's wmake showed us already. If we
+# ever want to change this in a portable manner then we should consider
+# this idea (posted to the libcurl list by Adam Kellas):
+# CSRC1 = file1.c file2.c file3.c
+# CSRC2 = file4.c file5.c file6.c
+# CSOURCES = $(CSRC1) $(CSRC2)
 
 CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c    \
   cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c      \
index 9faf89d..825bcff 100644 (file)
@@ -1,4 +1,11 @@
 # ./src/Makefile.inc
+# Using the backslash as line continuation character might be problematic
+# with some make flavours, as Watcom's wmake showed us already. If we
+# ever want to change this in a portable manner then we should consider
+# this idea (posted to the libcurl list by Adam Kellas):
+# CSRC1 = file1.c file2.c file3.c
+# CSRC2 = file4.c file5.c file6.c
+# CSOURCES = $(CSRC1) $(CSRC2)
 
 # libcurl has sources that provide functions named curlx_* that aren't part of
 # the official API, but we re-use the code here to avoid duplication.
@@ -16,4 +23,3 @@ CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
 
 curl_SOURCES = $(CURL_SOURCES) $(CURLX_ONES) $(CURL_HFILES)
 
-