Skip to content

Commit 00d6e6f

Browse files
mdcornupablodelara
authored andcommitted
add perf target to windows makefile
Signed-off-by: Cornu, Marcel D <[email protected]>
1 parent 496255c commit 00d6e6f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Makefile.nmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ perfs = \
335335

336336
perfs: lib $(perfs)
337337
$(perfs): $(@B).obj
338+
perf: $(perfs)
339+
!$?
338340

339341
progs = \
340342
igzip.exe

tools/gen_nmake.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ endif
9999
@echo '' >> $@
100100
@echo 'perfs: lib $$(perfs)' >> $@
101101
@echo '$$(perfs): $$(@B).obj' >> $@
102+
@echo 'perf: $$(perfs)' >> $@
103+
@echo ' !$$?' >> $@
102104
@echo '' >> $@
103105
@printf 'progs =' >> $@
104106
@$(foreach prog, $(notdir $(bin_PROGRAMS)), printf " %s\n\t%s.exe" \\ $(prog) >> $@; )

0 commit comments

Comments
 (0)