From 6ad0acb608f6a6c56a5db1123cf9289df76b6f44 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 29 Jul 2010 03:50:09 +0200 Subject: 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. --- src/Makefile.Watcom | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Makefile.Watcom') 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 & -- cgit v1.2.3