Makefile: don't fail to remove conditionally compiled binaries on clean
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 13 Feb 2020 15:57:31 +0000 (00:57 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 13 Feb 2020 16:30:15 +0000 (01:30 +0900)
commitb084bde69936cfc937ac94be21e4b12c81fcf127
treec022192fdd62accaf8dd06332e0acd636504a704
parent1b5e13beb3acc2a08321ce687727e2cbbb3b954f
Makefile: don't fail to remove conditionally compiled binaries on clean

`rm -f $(T_PROGS) $(T_TEST_PROGS)` in `clean` target is intended to
remove all binaries under t directory, but it actually fails to remove
`t/{fio-btrace2fio,io_uring,read-to-pipe-async}` files for not
evaluating platform specific variables on `make clean`.

 # uname -r
 5.4.17-200.fc31.x86_64
 # make clean
 # file t/* | grep ELF | awk '{print $1,$2,$3,$4,$5}'
 t/fio-btrace2fio: ELF 64-bit LSB executable,
 t/io_uring: ELF 64-bit LSB executable,
 t/read-to-pipe-async: ELF 64-bit LSB executable,

The easiest way to fix this is to hard-code these conditionally
compiled binaries.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Makefile