This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/intern/python/freeze/Makefile
Kent Mein dc91e98159 Modified it to use $(NAN_PYTHON_BINARY) instead of just plain old
python.  (otherwise why have the env var?) ;)

Kent
2003-03-21 21:50:47 +00:00

28 lines
572 B
Makefile

# $Id$
# This is the makefile for the bytecode freezing of all modules which
# the main file depends on (last argument in importer rule)
include nan_definitions.mk
SRCDIR = ../modules
TARGETDIR = $(OCGDIR)/blender/bpython/frozen
PYFLAGS=-S -O
default: importer
# fake all and debug targets
all debug: default
install: importer
importer:
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
$(NAN_PYTHON_BINARY) $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
$(MAKE) -C $(TARGETDIR)
clean:
rm -f *.pyo