From 6d3cfd51670b0a6a863757e1e97af9262e5bbc06 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 29 Oct 2024 12:18:43 -0300 Subject: Makefile: Simplify time file generation on bench taget dependencies --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c127431..228aba9 100644 --- a/Makefile +++ b/Makefile @@ -122,8 +122,7 @@ fuzz: $(fuzz-targets/main.bin-check) benchmarks/main.bin-check = $(benchmarks/main.go:.go=.bin-check) $(benchmarks/main.bin-check): - rm -f $*.txt - printf '%s\n' '$(EXEC)$*.bin' >> $*.txt + printf '%s\n' '$(EXEC)$*.bin' > $*.txt LANG=POSIX.UTF-8 time -p $(EXEC)$*.bin 2>> $*.txt printf '%s\n' '$*.txt' -- cgit v1.2.3