Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « freeze « python « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3fe2f2a3f962186c0668cf396ef2583868094e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $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 -f *.pyo