PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

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

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