aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-27 08:58:24 -0300
committerEuAndreh <eu@euandre.org>2024-10-27 08:58:24 -0300
commitaa40628c676c403c281272ff8d3649ab030e4394 (patch)
treefeba2ab57602dc25f8088acfdc9c776e4f0d50f4 /Makefile
parentRevert c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570 (diff)
downloadgolite-aa40628c676c403c281272ff8d3649ab030e4394.tar.gz
golite-aa40628c676c403c281272ff8d3649ab030e4394.tar.xz
Makefile: Simplify output of "bench" target dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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'