PYTHON make variable for using python2, optionally

This commit is contained in:
Nigel Stewart 2016-02-06 13:12:27 +10:00
parent a7ea1dc3a3
commit 281e38de7d

View File

@ -10,6 +10,7 @@ include ../config/version
#GLEW_SPLIT_SOURCE = yes
SHELL = bash
PYTHON ?= python
### Use git repository for GL extension specifications
@ -118,7 +119,7 @@ $(EXT)/.dummy: $(REGISTRY)/.dummy
@echo "--------------------------------------------------------------------"
rm -rf $(EXT)
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
$(BIN)/parse_xml.py registry/xml/egl.xml --core core/gl --extensions extensions/gl
$(PYTHON) $(BIN)/parse_xml.py registry/xml/egl.xml --core core/gl --extensions extensions/gl
$(BIN)/$(FILTER) $(EXT)
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \