diff options
author | EuAndreh <eu@euandre.org> | 2024-10-29 12:14:21 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-29 12:14:21 -0300 |
commit | f8ba907f97bfc1c9f858dd23c904e35da247b834 (patch) | |
tree | 0b5eda47eced6a24fd8bb0e1013c316ff73f01be | |
parent | Makefile: Prioritize local version when building and linking (diff) | |
download | glaze-f8ba907f97bfc1c9f858dd23c904e35da247b834.tar.gz glaze-f8ba907f97bfc1c9f858dd23c904e35da247b834.tar.xz |
Makefile: Simplify time file generation on bench taget dependencies
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -130,8 +130,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' |