From 00d6e6fe8736744425ae30ed8030803e0348325f Mon Sep 17 00:00:00 2001 From: "Cornu, Marcel D" Date: Tue, 19 Nov 2024 11:57:16 +0000 Subject: [PATCH] add perf target to windows makefile Signed-off-by: Cornu, Marcel D --- Makefile.nmake | 2 ++ tools/gen_nmake.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile.nmake b/Makefile.nmake index d32417f..98eb075 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -335,6 +335,8 @@ perfs = \ perfs: lib $(perfs) $(perfs): $(@B).obj +perf: $(perfs) + !$? progs = \ igzip.exe diff --git a/tools/gen_nmake.mk b/tools/gen_nmake.mk index 55952fb..a65b655 100644 --- a/tools/gen_nmake.mk +++ b/tools/gen_nmake.mk @@ -99,6 +99,8 @@ endif @echo '' >> $@ @echo 'perfs: lib $$(perfs)' >> $@ @echo '$$(perfs): $$(@B).obj' >> $@ + @echo 'perf: $$(perfs)' >> $@ + @echo ' !$$?' >> $@ @echo '' >> $@ @printf 'progs =' >> $@ @$(foreach prog, $(notdir $(bin_PROGRAMS)), printf " %s\n\t%s.exe" \\ $(prog) >> $@; )