Windows equivalent to this Makefile

Posted by Sridhar Ratnakumar on Stack Overflow See other posts from Stack Overflow or by Sridhar Ratnakumar
Published on 2010-05-04T19:44:56Z Indexed on 2010/05/04 19:48 UTC
Read the original article Hit count: 254

The advantage of writing a Makefile is that "make" is generally assumed to be present on the various Unices (Linux and Mac primarily).

Now I have the following Makefile:

PYTHON := python

all: e installdeps

e:
        virtualenv --distribute --python=${PYTHON} e

installdeps:
        e/bin/python setup.py develop

clean:
        rm -rf e

As you can see this Makefile uses simple targets and variable substitution. Can this be achieved on Windows? By that mean - without having to install external tools (like cygwin make); perhaps make.cmd? Typing "make installdeps" for instance, should work both on Unix and Windows.

© Stack Overflow or respective owner

Related posts about python

Related posts about makefile