From aa40628c676c403c281272ff8d3649ab030e4394 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 27 Oct 2024 08:58:24 -0300 Subject: Makefile: Simplify output of "bench" target dependencies --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ab3dbe0..2a73dc2 100644 --- a/Makefile +++ b/Makefile @@ -161,8 +161,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