/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
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- CXXSRCS =
- TARGET = example
- INTERFACE = example.i
- LIBS = -lm
- all:: Example.class
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" \
- TCL_CXXSHARED="gcj -fpic -shared Example.class " LIBS="-lstdc++" DEFS='' tcl_cpp
- clean::
- $(MAKE) -f $(TOP)/Makefile tcl_clean
- rm -f *.class Example.h
- check: all
- run:
- tclsh runme.tcl
- Example.class: Example.java
- gcj -fPIC -C -c -g Example.java
- gcjh Example