Hi thanks for getting back to me.
Maybe I should have been a little more specific in my requirements:
My folder structure looks like:
/APPS
/application1
/src
/application2
/src <- geany pointing to file here ! See note below
/application3
/src
... 20 or so applications ...
/buid1
/application1
/src
/application2
/src <- I want geany to execute the Makefile here
/application3
/src
... 20 or so applications ...
If I put a makefile (e.g. Makefile.geany) in /APPS/application2/src that points to the makefile in /build1/application2/src then regardless of which directory the file I am editing is the Make command will pick up the Makefile.geany and build application2. Obviously each Makefile.geany file would need to be customised to execute the correct target.
My question is:
What would I put in the Makefile.geany to run make in ../../build1/application/src or would a shell script (geany.make) be more sensible that simply executed e.g. pushd ../../build1/application/src; make; popd; Every directory would have the geany.make script so I can simply have to put geany.make in the command settings.
Your comments on the best course of action would be appreciated.
Thanks again
Tim
[...]