summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.Watcom3
-rw-r--r--src/Makefile.Watcom1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index 811fd80bf..dc6391a56 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -112,7 +112,7 @@ CFLAGS += -dUSE_LIBRTMP -I$(LIBRTMP_ROOT)
!endif
!ifdef %use_ssh2
-CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H -I$(LIBSSH2_ROOT)\include -I$(LIBSSH2_ROOT)\win32
+CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H -I$(LIBSSH2_ROOT)$(DS)include -I$(LIBSSH2_ROOT)$(DS)win32
!endif
!ifdef %use_ssl
@@ -141,6 +141,7 @@ LIB_ARG = $(OBJ_BASE)$(DS)stat$(DS)wlib.arg
OBJS = $(CSOURCES:.c=.obj)
!ifdef __LINUX__
OBJS = $OBJ_DIR/$(OBJS: = $OBJ_DIR/)
+
!else
OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\)
!endif
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 48676a89c..0f726c449 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -125,6 +125,7 @@ OBJS += $(CURLX_SOURCES:.c=.obj)
!endif
!ifdef __LINUX__
OBJS = $OBJ_DIR/$(OBJS: = $OBJ_DIR/)
+
!else
OBJS = $OBJ_DIR\$(OBJS: = $OBJ_DIR\)
!endif