forked from bartvdbraak/blender
3bf8d2aa0c
build systems (auto, msvc, PB) do not seem to have this problem. - Change intern/python/freeze/Makefile to freeze outside of the source/ tree - Change source/blender/bpython/Makefile to not build the frozen stuff anymore - Change source/blender/bpython/intern/Makefile to use CURRENT_PYTHON_API instead of FUTURE_PYTHON_API, damage control
24 lines
507 B
Makefile
24 lines
507 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
|
|
|
|
install: importer
|
|
|
|
importer:
|
|
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
|
|
python $(PYFLAGS) freeze.py -d -x os -x pprint -x string -x copy -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
|
|
$(MAKE) -C $(TARGETDIR)
|
|
|
|
clean:
|
|
rm *.pyo
|