[nasm:nasm-2.16.xx] Makefiles: defined $(WARNSRCS), but need to actually use it...

nasm-bot for H. Peter Anvin hpa at zytor.com
Mon Jan 29 19:09:04 PST 2024


Commit-ID:  66276870f289af748e1d7455f39574c691251d80
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=66276870f289af748e1d7455f39574c691251d80
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 29 Jan 2024 19:07:54 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 29 Jan 2024 19:07:54 -0800

Makefiles: defined $(WARNSRCS), but need to actually use it...

The $(WARNSRCS) definition doesn't help much unless it is actually
used somewhere...

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 Makefile.in          | 2 +-
 Mkfiles/msvc.mak     | 2 +-
 Mkfiles/openwcom.mak | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index e47e764b..67b5acd7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -290,7 +290,7 @@ warnings:
 	$(RM_F) $(WARNFILES) $(WARNTIMES)
 	$(MAKE) asm/warnings.time
 
-asm/warnings.time: $(ALLOBJ_NW:.$(O)=.c)
+asm/warnings.time: $(WARNSRCS)
 	$(EMPTY) asm/warnings.time
 	$(MAKE) $(WARNTIMES)
 
diff --git a/Mkfiles/msvc.mak b/Mkfiles/msvc.mak
index c655c7eb..ae4a3470 100644
--- a/Mkfiles/msvc.mak
+++ b/Mkfiles/msvc.mak
@@ -247,7 +247,7 @@ warnings:
 	$(RM_F) $(WARNFILES) $(WARNTIMES)
 	$(MAKE) asm\warnings.time
 
-asm\warnings.time: $(ALLOBJ_NW:.$(O)=.c)
+asm\warnings.time: $(WARNSRCS)
 	$(EMPTY) asm\warnings.time
 	$(MAKE) $(WARNTIMES)
 
diff --git a/Mkfiles/openwcom.mak b/Mkfiles/openwcom.mak
index 9a1588f7..3d8dcf05 100644
--- a/Mkfiles/openwcom.mak
+++ b/Mkfiles/openwcom.mak
@@ -260,7 +260,7 @@ warnings:
 	$(RM_F) $(WARNFILES) $(WARNTIMES)
 	$(MAKE) asm\warnings.time
 
-asm\warnings.time: $(ALLOBJ_NW:.$(O)=.c)
+asm\warnings.time: $(WARNSRCS)
 	$(EMPTY) asm\warnings.time
 	$(MAKE) $(WARNTIMES)
 


More information about the Nasm-commits mailing list