Windows equivalent to this Makefile
- by Sridhar Ratnakumar
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.