PageRenderTime 77ms CodeModel.GetById 16ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/python/import_template/Makefile

#
Makefile | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | e51481099175aa4b3da92e374492b95a 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. SWIGOPT =
  4. LIBS =
  5. all::
  6. $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
  7. LIBS='$(LIBS)' TARGET='base' INTERFACE='base.i' python_cpp
  8. $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
  9. LIBS='$(LIBS)' TARGET='foo' INTERFACE='foo.i' python_cpp
  10. $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
  11. LIBS='$(LIBS)' TARGET='bar' INTERFACE='bar.i' python_cpp
  12. $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' \
  13. LIBS='$(LIBS)' TARGET='spam' INTERFACE='spam.i' python_cpp
  14. clean::
  15. $(MAKE) -f $(TOP)/Makefile python_clean
  16. @rm -f foo.py bar.py spam.py base.py
  17. check: all
  18. $(MAKE) -f $(TOP)/Makefile python_run