Hello there!


In the piece of makefile below (which actually does nothing), why cd $(SRCDIR) does not find the directory if I put ";" after (SRCDIR)? On the contrary, if I remove the ";" it will find it. The makefile works fine in Linux and Cygwin, but not in MinGW.


SRCDIR = src



          cd $(SRCDIR);


clean :    

          cd $(SRCDIR); make clean



The problem is that I need the ";" since I have to execute another makefile which will be inside SRCDIR:


cd $(SRCDIR); make ...;