aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.Watcom
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-02-03 23:07:11 +0000
committerDan Fandrich <dan@coneharvesters.com>2010-02-03 23:07:11 +0000
commit680434f313201dd04ffbc4bf2735759d28bcef4d (patch)
tree9c8c143a185b82b951e49c11a720ba7b2c580977 /src/Makefile.Watcom
parentc9f46446d55b0debb92180a02a8bf9bf822bcc20 (diff)
Changed the Watcom makefiles to make them easier to keep in sync with
Makefile.inc since that can't be included directly.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r--src/Makefile.Watcom13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 7d38c393a..fdb34fe5b 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -12,10 +12,15 @@ CFLAGS = -3r -mf -d3 -hc -zff -zgf -zq -zm -s -fr=con -w2 -fpi -oilrtfm &
OBJ_DIR = WC_Win32.obj
-OBJS = $(OBJ_DIR)\getpass.obj $(OBJ_DIR)\homedir.obj $(OBJ_DIR)\hugehelp.obj &
- $(OBJ_DIR)\main.obj $(OBJ_DIR)\urlglob.obj $(OBJ_DIR)\writeenv.obj &
- $(OBJ_DIR)\writeout.obj $(OBJ_DIR)\curlutil.obj $(OBJ_DIR)\rawstr.obj &
- $(OBJ_DIR)\os-specific.obj
+# Unfortunately, we can't include Makefile.inc here because wmake doesn't
+# use backslash as the line continuation character by default
+CURL_SOURCES = main.c hugehelp.c urlglob.c writeout.c writeenv.c &
+ getpass.c homedir.c curlutil.c os-specific.c
+
+CURLX_SOURCES = rawstr.c
+
+OBJS = $(CURL_SOURCES:.c=.obj) $(CURLX_SOURCES:.c=.obj)
+OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\)
RESOURCE = $(OBJ_DIR)\curl.res