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,
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):
I run below command to generate graph in each module path:
/usr/bin/make -Bnd | ${GDIR}/make2graph | dot -Tpng -o /tmp/test.pngbut 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,