aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.inc7
-rw-r--r--src/Makefile.inc8
2 files changed, 14 insertions, 1 deletions
diff --git a/lib/Makefile.inc b/lib/Makefile.inc
index 328e57a4c..17e2d36e7 100644
--- a/lib/Makefile.inc
+++ b/lib/Makefile.inc
@@ -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 \
diff --git a/src/Makefile.inc b/src/Makefile.inc
index 9faf89d3d..825bcffd4 100644
--- a/src/Makefile.inc
+++ b/src/Makefile.inc
@@ -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)
-