blender/intern/python/freeze/Makefile

32 lines
642 B
Makefile
Raw Normal View History

2002-11-30 15:34:57 +00:00
# $Id$
# This is the makefile for the bytecode freezing of all modules which
# the main file depends on (last argument in importer rule)
2002-10-12 11:37:38 +00:00
include nan_definitions.mk
2002-11-30 15:34:57 +00:00
SRCDIR = ../modules
2002-10-12 11:37:38 +00:00
TARGETDIR = $(OCGDIR)/blender/bpython/frozen
2002-10-12 11:37:38 +00:00
ifeq ($(FREE_WINDOWS),true)
export NAN_PYTHON_BINARY = python
endif
PYFLAGS=-S -O
2002-10-12 11:37:38 +00:00
2002-11-30 15:34:57 +00:00
default: importer
2002-10-12 11:37:38 +00:00
# fake all and debug targets
all debug: default
2002-11-30 15:34:57 +00:00
install: importer
2002-11-30 15:34:57 +00:00
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)
2002-11-30 15:34:57 +00:00
clean:
2003-02-09 22:01:05 +00:00
rm -f *.pyo