PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/tcl/java/Makefile

#
Makefile | 26 lines | 19 code | 7 blank | 0 comment | 0 complexity | 60037104393dc88281c6574ded7ad30d MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3CXXSRCS    = 
 4TARGET     = example
 5INTERFACE  = example.i
 6LIBS       = -lm
 7
 8all:: Example.class
 9	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
10	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj"  \
11	TCL_CXXSHARED="gcj -fpic -shared Example.class " LIBS="-lstdc++" DEFS='' tcl_cpp
12
13
14clean::
15	$(MAKE) -f $(TOP)/Makefile tcl_clean
16	rm -f *.class Example.h
17
18check: all
19
20run:
21	tclsh runme.tcl
22
23Example.class: Example.java
24	gcj -fPIC -C -c -g Example.java
25	gcjh  Example
26