mirror of
https://github.com/nigels-com/glew.git
synced 2025-02-17 22:20:45 +00:00
PYTHON make variable for using python2, optionally
This commit is contained in:
parent
a7ea1dc3a3
commit
281e38de7d
@ -10,6 +10,7 @@ include ../config/version
|
|||||||
#GLEW_SPLIT_SOURCE = yes
|
#GLEW_SPLIT_SOURCE = yes
|
||||||
|
|
||||||
SHELL = bash
|
SHELL = bash
|
||||||
|
PYTHON ?= python
|
||||||
|
|
||||||
### Use git repository for GL extension specifications
|
### Use git repository for GL extension specifications
|
||||||
|
|
||||||
@ -118,7 +119,7 @@ $(EXT)/.dummy: $(REGISTRY)/.dummy
|
|||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
rm -rf $(EXT)
|
rm -rf $(EXT)
|
||||||
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
|
$(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)
|
$(BIN)/$(FILTER) $(EXT)
|
||||||
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
|
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
|
||||||
|
Loading…
Reference in New Issue
Block a user