hi Daniel, >> I would like to use variables in the definition of SUBDIRS, something >> of the kind: >> >> DEPS = $(TOP)/deps >> CIL = $(DEPS)/cil-1.3.7 >> SUBDIRS = $(CIL) ... > > Would one of these help? > http://www.gnu.org/s/libtool/manual/automake/Subdirectories-with-AM_005fCONDITIONAL.html > > http://www.gnu.org/s/libtool/manual/automake/Subdirectories-with-AC_005fSUBST.html > > http://www.gnu.org/s/hello/manual/automake/Usage-of-Conditionals.html
Thanks for the suggestion! I ended up switching to cmake, so didn't try that out, but maybe one day this will become useful! Misha