git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
36 lines
795 B
Makefile
36 lines
795 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 pycpp.o guile.o java.o
|
|
SRCS = swigmain.cxx tcl8.cxx perl5.cxx python.cxx pycpp.cxx guile.cxx java.cxx
|
|
INCLUDE = -I../Include -I../SWIG1.1
|
|
|
|
# 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
|