Skip to content

Commit fcb8f3b

Browse files
committed
Enable python command as optional parameter
If the user writes `make` then `python` is used, but if she wants to use `python3` then should be able to do it by typing `PYTHON=python3 make` [1]: ibayer#105 (comment) Signed-off-by: Antonio Ossa <[email protected]>
1 parent 16a0442 commit fcb8f3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
PYTHON ?= python
2+
13
all:
24
( cd fastFM-core ; $(MAKE) lib )
3-
python setup.py build_ext --inplace
5+
$(PYTHON) setup.py build_ext --inplace
46

57
.PHONY : clean
68
clean:

0 commit comments

Comments
 (0)