On 16 ноя, 22:35, "[email protected]" <[email protected]> wrote: > I want to make something like this: > > %.dep: $(patsubst ../temp/%,./%, $%*.cpp) > > How to write it right? temp/lib1/file.dep must depends on c/lib1/ > file.cpp and so on.
I found it! The key is .SECONDEXPANSION: directive: http://www.gnu.org/software/automake/manual/make/Secondary-Expansion.html _______________________________________________ help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
