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

/trunk/Examples/python/std_map/Makefile

#
Makefile | 25 lines | 20 code | 5 blank | 0 comment | 0 complexity | 9b71ddc418132d272a58e9206d501690 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. SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
  14. clean::
  15. $(MAKE) -f $(TOP)/Makefile python_clean
  16. rm -f $(TARGET).py
  17. run:
  18. python runme.py
  19. check: all
  20. $(MAKE) -f $(TOP)/Makefile python_run