PageRenderTime 21ms CodeModel.GetById 11ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/python/performance/constructor/Makefile

#
Makefile | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | d336e85277b6b6c5a74acc9711e8bc91 MD5 | raw file
 1TOP        = ../../..
 2SWIG       = $(TOP)/../preinst-swig
 3CXXSRCS       =
 4TARGET     = Simple
 5INTERFACE  = Simple.i
 6
 7all :
 8	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG) -module Simple_baseline' \
 9	TARGET='$(TARGET)_baseline' INTERFACE='$(INTERFACE)' python_cpp
10	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG) -O -module Simple_optimized' \
11	TARGET='$(TARGET)_optimized' INTERFACE='$(INTERFACE)' python_cpp
12	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG) -builtin -O -module Simple_builtin' \
13	TARGET='$(TARGET)_builtin' INTERFACE='$(INTERFACE)' python_cpp
14
15static :
16	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
17	TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
18
19clean :
20	$(MAKE) -f $(TOP)/Makefile python_clean
21	rm -f $(TARGET).py