diff options
| author | EuAndreh <eu@euandre.org> | 2024-10-29 12:23:21 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-10-29 12:23:21 -0300 |
| commit | 38f20569ba54a7df76ef30d3584e38b3c8a7e8f5 (patch) | |
| tree | 731be065e07422e6001d602e1273ff4f6fffeade | |
| parent | Makefile: Prioritize local version when building and linking (diff) | |
| download | wscat-38f20569ba54a7df76ef30d3584e38b3c8a7e8f5.tar.gz wscat-38f20569ba54a7df76ef30d3584e38b3c8a7e8f5.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' |
