summaryrefslogtreecommitdiff
path: root/Mkfiles
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-05 21:24:55 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-05 21:24:55 -0700
commit90cc4154ae1dd5152ba0c3a47ab8ae357fd0530a (patch)
tree56a59b99e606169ba6a377adca76b3764ae32f78 /Mkfiles
parent675e7b7d7993ed9b2e9e3bcd7a0de605aa4d9f0d (diff)
downloadnasm-90cc4154ae1dd5152ba0c3a47ab8ae357fd0530a.tar.gz
BR 3392397: WMAKE uses a nonstandard syntax for phony targets
The standard syntax for a phony target in Make is: target: <dependencies> .PHONY: target ... however, Watcom WMAKE seems to use target: <dependencies> .SYMBOLIC and furthermore, seems to *require* it. Therefore, remove the "perlreq" target from the automatically distributed region and move it into the specific region; it should not need to change anyway since the PERLREQ list itself is still synced. If it was only a matter of the .SYMBOLIC versus .PHONY token it would be easy enough to change that in syncfiles.pl, but this syntax change is big enough that it doesn't make enough sense to worry about. Reported-by: sezero <sezero@users.sourceforge.net> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Mkfiles')
-rw-r--r--Mkfiles/msvc.mak4
-rw-r--r--Mkfiles/openwcom.mak4
2 files changed, 4 insertions, 4 deletions
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak
index 3141fced..f2c6ad29 100644
--- a/Mkfiles/msvc.mak
+++ b/Mkfiles/msvc.mak
@@ -234,10 +234,10 @@ asm/directbl.c: asm/directiv.dat nasmlib/perfhash.pl perllib/phash.ph
$(RUNPERL) $(srcdir)/nasmlib/perfhash.pl c \
$(srcdir)/asm/directiv.dat asm/directbl.c
-perlreq: $(PERLREQ)
-
#-- End Generated File Rules --#
+perlreq: $(PERLREQ)
+
#-- Begin NSIS Rules --#
# Edit in Makefile.in, not here!
diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak
index f1e2597c..a179ce7d 100644
--- a/Mkfiles/openwcom.mak
+++ b/Mkfiles/openwcom.mak
@@ -251,10 +251,10 @@ asm/directbl.c: asm/directiv.dat nasmlib/perfhash.pl perllib/phash.ph
$(RUNPERL) $(srcdir)/nasmlib/perfhash.pl c &
$(srcdir)/asm/directiv.dat asm/directbl.c
-perlreq: $(PERLREQ)
-
#-- End Generated File Rules --#
+perlreq: $(PERLREQ) .SYMBOLIC
+
#-- Begin NSIS Rules --#
# Edit in Makefile.in, not here!