Let’s say you are in a subdirectory, and there’s a Makefile in a parent
directory. How do you run make? You climb back up to the parent directory
and type “make”, or use “make -C parent_dir”. In either case, you have to
know what the parent dir is. Here are a pair of scripts that do that for
you.
The findup script’s job is to find a file in a parent directory. It prints
the directory name if found, else it exits with status 1.