Jimmy DeWitt wrote:
Hi,
        I have a make question:

How do I test if a directory exists with make?


I would like to have a Makefile that checks if a specific directory is there, if it
is I would like to cd to it and build .


if foo
        cd foo
        make -f my_makefile


Is there a way to do this without scripts?

Would this suite your purpose ?



target: my_dir/Makefile $(MAKE) -C my_dir


Cheers, -Tristan




_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to