nested - How to use custom makefile in DevC++ to call different makefiles in sub directories?Call leads to infinite loop without executing sub directory mkfile -


in unix following code works fine sub directories call, in devc++ without these sub directories calling makefile running fine. mean no problem in setting custom make file calling is.

source code in make file:

$(idmsobjdir)/idmslex.o :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/front.h $(inclpath)/msgmgr.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(idmsdir)/idmskwords.rwd $(idmsdir)/idmslex.l             cd $(idmsdir);  make  $(idmsobjdir)/idmspar.o :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/front.h $(inclpath)/msgmgr.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(idmsdir)/idmskwords.rwd $(idmsdir)/idmspar.y             cd $(idmsdir);  make  $(cicsobjdir)/cicslex.o :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/front.h $(inclpath)/msgmgr.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(cicsdir)/cicskwords.rwd $(cicsdir)/cicslex.l             cd $(cicsdir);  make  $(cicsobjdir)/cicspar.o :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/front.h $(inclpath)/msgmgr.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(cicsdir)/cicskwords.rwd $(cicsdir)/cicspar.y             cd $(cicsdir)                make  $(cicsobjdir)/cicsunp.o :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/msgmgr.h $(inclpath)/front.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h             cd $(cicsdir);  make  $(cicsobjdir)/cicskwordshash.o  :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/front.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(cicsdir)/cicskwords.rwd             cd $(cicsdir);  make  $(db2objdir)/sqllex.o   :   $(inclpath)/rtbtree.h $(inclpath)/memmgmt.h $(inclpath)/rtbyacc.h $(inclpath)/msgmgr.h $(inclpath)/front.h $(inclpath)/setops.h $(inclpath)/nodedecl.h $(inclpath)/operators.h $(inclpath)/tokdefs.h $(db2dir)/sqlkwords.rwd $(db2dir)/sqllex.l             cd ../db2/src;  make 

console of dev c++:

make[205]: entering directory  cd ../cics/src                  make                            make[206]: entering directory  cd ../cics/src                  make                            make[207]: entering directory  cd ../cics/src                  make                            make[208]: entering directory  cd ../cics/src                  . . . 

it goes on , neither control comes nor doesn't execute make in sub directory . keeps on printing line .


Comments