Commit 281e38de authored by Nigel Stewart's avatar Nigel Stewart
Browse files

PYTHON make variable for using python2, optionally

parent a7ea1dc3
......@@ -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 "~" | \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment