PageRenderTime 73ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/tcl/java/Makefile

#
Makefile | 26 lines | 19 code | 7 blank | 0 comment | 0 complexity | 60037104393dc88281c6574ded7ad30d 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:: Example.class
  8. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" \
  10. TCL_CXXSHARED="gcj -fpic -shared Example.class " LIBS="-lstdc++" DEFS='' tcl_cpp
  11. clean::
  12. $(MAKE) -f $(TOP)/Makefile tcl_clean
  13. rm -f *.class Example.h
  14. check: all
  15. run:
  16. tclsh runme.tcl
  17. Example.class: Example.java
  18. gcj -fPIC -C -c -g Example.java
  19. gcjh Example