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

/trunk/Examples/python/exception/Makefile

#
Makefile | 21 lines | 17 code | 4 blank | 0 comment | 0 complexity | d3d6396f5b7d36ca4313706fe0f2a9ca 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 =
  4. TARGET = example
  5. INTERFACE = example.i
  6. LIBS = -lm
  7. all::
  8. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
  10. static::
  11. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  12. TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
  13. clean::
  14. $(MAKE) -f $(TOP)/Makefile python_clean
  15. rm -f $(TARGET).py
  16. check: all
  17. $(MAKE) -f $(TOP)/Makefile python_run