PageRenderTime 61ms CodeModel.GetById 47ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/tags/rel-1-3-26/SWIG/Examples/python/template/Makefile

#
Makefile | 21 lines | 17 code | 4 blank | 0 comment | 0 complexity | 622feb2b51c7cd542f16e3061e4269a9 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1TOP        = ../..
 2SWIG       = $(TOP)/../swig
 3CXXSRCS    = 
 4TARGET     = example
 5INTERFACE  = example.i
 6LIBS       = -lm
 7SWIGOPT    = 
 8
 9all::
10	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
11	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
12
13static::
14	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
15	SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
16
17clean::
18	$(MAKE) -f $(TOP)/Makefile python_clean
19	rm -f $(TARGET).py
20
21check: all