PageRenderTime 33ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/go/template/Makefile

#
Makefile | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | a3006f4b2c9b0e908efb08cdd7ca3e8a 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. SWIGOPT =
  7. all:: go
  8. go::
  9. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  10. SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_cpp
  11. clean::
  12. $(MAKE) -f $(TOP)/Makefile go_clean
  13. check: all
  14. $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run