show more details about libs
Hi I try to use makefile2graph but have some issues: 1-instead of CMAKE I create script that manually go through path and run "make files" here is the script: (when each module make refer to some other till project make completely):
for MODULE in \
src/module1 \
src/module2 \
src/module3 \
src/app/module4 \
...
src/app4/moduleN \
do
cd $MODULE; echo
make clean;make
done
I run below command to generate graph in each module path:
/usr/bin/make -Bnd | ${GDIR}/make2graph | dot -Tpng -o /tmp/test.png
but how can I run this on root of project? (there is no global make file that exist on top of project, script make them one by one)
2-how can I see each module use which lib, now when I run it on each module path it only show that module refer to lib and won't show use which lib!

Any idea? Thanks,
1-instead of CMAKE
why do you speak of cmake ?
but how can I run this on root of project?
if I understand what you meant this tool doesn't work with recursive makefile
1-I don’t use CMAKE just clarify. 2-i have make file in each path like below, how can i get top level graph?
src/module1
src/module2
src/module3
src/app/module4
...
src/app4/moduleN \
3-the main question is how can get graph that show which lib call?
thanks,