title: Get base name of folder in GNU make
body: <p>It seems the basename function as interpreted by GNU make is not the same as bash's basename. The former strips the suffix, while the latter will also strip the path. How can I get the base name of a folder in my makefile?</p>
  
  <p>Also, why in did they change it? (It took me 20 minutes to find the source of my error)</p>