Fix benchmarks make target

This commit is contained in:
Oliver Jowett 2020-08-04 20:38:03 +08:00
parent d59e3bb136
commit 84b1975e76
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ cprtests: cpr.o cprtests.o
crctests: crc.c crc.h
$(CC) $(CPPFLAGS) $(CFLAGS) -g -DCRCDEBUG -o $@ $<
benchmarks: convert_benchmark
./convert_benchmark
benchmarks: oneoff/convert_benchmark
oneoff/convert_benchmark
oneoff/convert_benchmark: oneoff/convert_benchmark.o convert.o util.o
$(CC) $(CPPFLAGS) $(CFLAGS) -g -o $@ $^ -lm