File: Makefile

package info (click to toggle)
swig1.3 1.3.11-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,852 kB
  • ctags: 4,764
  • sloc: ansic: 20,489; cpp: 10,052; sh: 7,256; yacc: 2,669; makefile: 2,381; python: 873; java: 762; tcl: 686; perl: 474; lisp: 444; ruby: 370; php: 367
file content (41 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Generated automatically from Makefile.in by configure.
#######################################################################
# $Header: /cvs/projects/SWIG/Source/Modules1.1/Makefile.in,v 1.23.2.1.2.2 2001/11/15 02:44:21 beazley Exp $
#######################################################################

srcdir = .

SHELL    = /bin/sh
CXX      = c++
CFLAGS   = -g -O2
YACC     = bison -y
AR       = ar
RANLIB   = ranlib

TARGET   = libmodules11.a
OBJS     = main.o emit.o lang.o swigmain.o tcl8.o python.o perl5.o guile.o ruby.o mzscheme.o java.o php4.o
SRCS     = main.cxx emit.cxx lang.cxx swigmain.cxx tcl8.cxx python.cxx perl5.cxx guile.cxx ruby.cxx mzscheme.cxx java.cxx php4.cxx

INCLUDE  = -I$(srcdir)/../Include		\
           -I$(srcdir)/../DOH/Include		\
           -I$(srcdir)/../Preprocessor          \
           -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