simplify Makefiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6d586307a2
commit
c18f0bd237
4 changed files with 8 additions and 12 deletions
|
|
@ -1,4 +1,3 @@
|
|||
CXX = g++
|
||||
TOP = ../..
|
||||
SWIG = $(TOP)/../preinst-swig
|
||||
CXXSRCS =
|
||||
|
|
@ -8,8 +7,8 @@ LIBS = -lm
|
|||
|
||||
all:: Example.class
|
||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" CFLAGS="-fPIC" \
|
||||
TCL_CXXSHARED="gcj -fPIC -shared Example.class -lgcj " LIBS="-lstdc++" DEFS='' tcl_cpp
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" \
|
||||
TCL_CXXSHARED="gcj -fpic -shared Example.class " LIBS="-lstdc++" DEFS='' tcl_cpp
|
||||
|
||||
|
||||
clean::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue