I am doing the following inside a make file
pushd %dir_name%
and i get the following error
/bin/sh : pushd : not foun
add
SHELL := /bin/bash
at the top of your makefile I have found it on another question How can I use Bash syntax in Makefile targets?