How can I check if a program is callable from a Makefile?
(That is, the program should exist in the path or otherwise be callable.)
It could be used to chec
Solved by compiling a special little program in another makefile target, whose sole purpose is to check for whatever runtime stuff I was looking for.
Then, I called this program in yet another makefile target.
It was something like this if I recall correctly:
real: checker real.c
cc -o real real.c `./checker`
checker: checker.c
cc -o checker checker.c