mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Placed back and fixed python availability check
This commit is contained in:
parent
d4a431f0ea
commit
2ffb66efe5
13
makefile
13
makefile
@ -223,9 +223,9 @@ endif
|
||||
endif # BIGENDIAN
|
||||
|
||||
ifndef PYTHON_EXECUTABLE
|
||||
PYTHON := $(SILENT)python
|
||||
PYTHON := python
|
||||
else
|
||||
PYTHON := $(SILENT)$(PYTHON_EXECUTABLE)
|
||||
PYTHON := $(PYTHON_EXECUTABLE)
|
||||
endif
|
||||
CC := $(SILENT)gcc
|
||||
LD := $(SILENT)g++
|
||||
@ -591,9 +591,9 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
#ifneq ($(PYTHON_AVAILABLE),python)
|
||||
#$(error Python is not available in path)
|
||||
#endif
|
||||
ifneq ($(PYTHON_AVAILABLE),python)
|
||||
$(error Python is not available in path)
|
||||
endif
|
||||
|
||||
GENIE := 3rdparty/genie/bin/$(GENIEOS)/genie$(EXE)
|
||||
|
||||
@ -879,5 +879,4 @@ generate: \
|
||||
|
||||
$(GENDIR)/%.lh: $(SRC)/%.lay $(SRC)/build/file2str.py
|
||||
@echo Converting $<...
|
||||
$(PYTHON) $(SRC)/build/file2str.py $< $@ layout_$(basename $(notdir $<))
|
||||
|
||||
$(SILENT)$(PYTHON) $(SRC)/build/file2str.py $< $@ layout_$(basename $(notdir $<))
|
||||
|
Loading…
Reference in New Issue
Block a user