Commit 01c309e1 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Added a comment with an alternate idea to avoid the backslash line contination character.

parent d873c820
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
# ./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	\
+7 −1
Original line number Diff line number Diff line
# ./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)