(INCLUDE): Also include ../Include in build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a7c4e23fd4
commit
7d99abc855
1 changed files with 8 additions and 4 deletions
|
|
@ -8,18 +8,22 @@ VPATH = @srcdir@
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
AR = @AR@
|
AR = @AR@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
|
|
||||||
TARGET = libmodules11.a
|
TARGET = libmodules11.a
|
||||||
OBJS = swigmain.o tcl8.o perl5.o python.o pycpp.o guile.o java.o
|
OBJS = swigmain.o tcl8.o perl5.o python.o pycpp.o guile.o java.o
|
||||||
SRCS = swigmain.cxx tcl8.cxx perl5.cxx python.cxx pycpp.cxx guile.cxx java.cxx
|
SRCS = swigmain.cxx tcl8.cxx perl5.cxx python.cxx pycpp.cxx guile.cxx java.cxx
|
||||||
INCLUDE = -I$(srcdir)/../Include -I$(srcdir)/../SWIG1.1 -I$(srcdir)/../SWIG1.3 -I$(srcdir)/../DOH/Include
|
INCLUDE = -I$(srcdir)/../Include \
|
||||||
|
-I$(srcdir)/../SWIG1.1 \
|
||||||
|
-I$(srcdir)/../SWIG1.3 \
|
||||||
|
-I$(srcdir)/../DOH/Include \
|
||||||
|
-I../Include
|
||||||
|
|
||||||
# Rules for creation of a .o file from .cxx
|
# Rules for creation of a .o file from .cxx
|
||||||
.SUFFIXES: .cxx
|
.SUFFIXES: .cxx
|
||||||
.cxx.o:
|
.cxx.o:
|
||||||
$(CXX) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
|
$(CXX) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,4 +37,4 @@ clean::
|
||||||
rm -f *.o *~ $(TARGET)
|
rm -f *.o *~ $(TARGET)
|
||||||
|
|
||||||
nuke::
|
nuke::
|
||||||
rm -f Makefile *~ #* core a.out
|
rm -f Makefile *~ #* core a.out
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue