Permalink
Browse files

Added a comment with an alternate idea to avoid the backslash line co…

…ntination character.
  • Loading branch information...
1 parent d873c82 commit 01c309e186b3f1055d56211d4074f451bf5282bf @gknauf gknauf committed Jul 29, 2010
Showing with 14 additions and 1 deletion.
  1. +7 −0 lib/Makefile.inc
  2. +7 −1 src/Makefile.inc
View
@@ -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 \
View
@@ -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)
-

0 comments on commit 01c309e

Please sign in to comment.