summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-27 07:38:37 -0300
committerEuAndreh <eu@euandre.org>2024-10-27 07:38:37 -0300
commit93080ec67580e0f53cbb0b5b90cb93634c374ca0 (patch)
tree5818cd0eb6f5618c237369a021b9ce71a67a2691
parentAddress renaming of acudego -> golite (diff)
downloadfiinha-93080ec67580e0f53cbb0b5b90cb93634c374ca0.tar.gz
fiinha-93080ec67580e0f53cbb0b5b90cb93634c374ca0.tar.xz
Makefile: Simplify output generation of "bench" target dependencies
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3301537..86ef227 100644
--- a/Makefile
+++ b/Makefile
@@ -136,8 +136,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'