Tcl examples now run during 'make check' and makefile tidyup.
This commit is contained in:
parent
bdf38a8507
commit
3489d0db32
16 changed files with 96 additions and 74 deletions
|
|
@ -5,18 +5,18 @@ TARGET = example
|
|||
INTERFACE = example.i
|
||||
LIBS = -lm
|
||||
|
||||
all:: Example.class
|
||||
check: build
|
||||
$(MAKE) -f $(TOP)/Makefile tcl_run
|
||||
|
||||
build: 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::
|
||||
clean:
|
||||
$(MAKE) -f $(TOP)/Makefile tcl_clean
|
||||
rm -f *.class Example.h
|
||||
|
||||
check: all
|
||||
|
||||
run:
|
||||
tclsh runme.tcl
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue