summaryrefslogtreecommitdiff
path: root/src/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-07-29 03:50:09 +0200
committerGuenter Knauf <lists@gknw.net>2010-07-29 03:50:09 +0200
commit6ad0acb608f6a6c56a5db1123cf9289df76b6f44 (patch)
tree019e2300565119ad70617547dc974d826cef60ea /src/Makefile.Watcom
parentcfbb351e22a9f3d3a99317895975d368a1eedf31 (diff)
downloadcurl-6ad0acb608f6a6c56a5db1123cf9289df76b6f44.tar.gz
Make Watcom makefiles use Makefile.inc to reduce future maintainance.
lib/Makefile.Watcom works fine already, for src/Makefile.Watcom we need first to tweak src/Makefile.inc a bit - therefore the handtweaked list still exists for now.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r--src/Makefile.Watcom6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index cae281e67..39a387ef7 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -47,6 +47,12 @@ CFLAGS += -d_WIN32_WINNT=0x0501 -dENABLE_IPV6
OBJ_DIR = WC_Win32.obj
LINK_ARG = $(OBJ_DIR)\wlink.arg
+# In order to process Makefile.inc wmake must be called with -u switch!
+!ifneq __MAKEOPTS__ -u
+!error You MUST call wmake with the -u switch!
+!else
+!include Makefile.inc
+!endif
# 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 &