PageRenderTime 41ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/python/operator/Makefile

#
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | ecc19c37279d03aef08753175d520c97 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. 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. 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