summaryrefslogtreecommitdiff
path: root/src/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-10 15:25:48 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-10 15:32:56 +0200
commit44e5e37f3895f67a94fedb6040ba800a9992762e (patch)
treea9f76f2fb7f607f07aa203570b5e9cffa50326ef /src/Makefile.Watcom
parent1d594772fd15143ad602ac90f5bb2f58f8b06f1a (diff)
downloadgnurl-44e5e37f3895f67a94fedb6040ba800a9992762e.tar.gz
gnurl-44e5e37f3895f67a94fedb6040ba800a9992762e.tar.bz2
gnurl-44e5e37f3895f67a94fedb6040ba800a9992762e.zip
Changed test for -u switch in order to enable other wmake switches.
The var %MAKEFLAGS is only set in 3 cases: if set as environment var or as macro definition from commandline, and either with the -u or -ms switch. Since all these cases are unlikely for the average user it should be safe to only test if %MAKEFLAGS is defined; this has the benefit that now all other switches can be used again in addition to the -u which was formerly not possible.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r--src/Makefile.Watcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 9b3479238..9fa3ab4a0 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -67,7 +67,7 @@ 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
+!ifndef %MAKEFLAGS
!error You MUST call wmake with the -u switch!
!else
!include Makefile.inc