git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
40 lines
961 B
Makefile
40 lines
961 B
Makefile
#######################################################################
|
|
# $Header$
|
|
#######################################################################
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
SHELL = /bin/sh
|
|
CXX = @CXX@
|
|
CFLAGS = @CFLAGS@
|
|
YACC = @YACC@
|
|
AR = @AR@
|
|
RANLIB = @RANLIB@
|
|
|
|
TARGET = libmodules11.a
|
|
OBJS = swigmain.o tcl8.o #perl5.o python.o guile.o java.o mzscheme.o ruby.o
|
|
SRCS = swigmain.cxx tcl8.cxx #perl5.cxx python.cxx guile.cxx java.cxx mzscheme.cxx ruby.cxx
|
|
INCLUDE = -I$(srcdir)/../Include \
|
|
-I$(srcdir)/../SWIG1.1 \
|
|
-I$(srcdir)/../DOH/Include \
|
|
-I$(srcdir)/../Swig \
|
|
-I../Include
|
|
|
|
# Rules for creation of a .o file from .cxx
|
|
.SUFFIXES: .cxx
|
|
.cxx.o:
|
|
$(CXX) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
|
|
|
|
|
|
swig: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(AR) cr $(TARGET) $(OBJS)
|
|
$(RANLIB) $(TARGET)
|
|
|
|
clean::
|
|
rm -f *.o *~ $(TARGET)
|
|
|
|
nuke::
|
|
rm -f Makefile *~ #* core a.out
|