PageRenderTime 36ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/python/smartptr/Makefile

#
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | 28aad028974e4bab7a3b467f11d82274 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-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
  18. $(MAKE) -f $(TOP)/Makefile python_run