PageRenderTime 43ms CodeModel.GetById 39ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/python/class/Makefile

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