'makefile to support PWD in mac and windows

I have this simple command in makefile. However, I am unable to get to work the same file so that I can use the same file for on mac as well as windows machine to run

serve:
    docker run --rm -it -p 8000:8000 -v ${PWD}:/docs helloworld

How can I get PWD variable for windows?

I cannot use CD or %CD% because it will not then work on MAC.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source