~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Examples/python/import_template/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Landschoff
  • Date: 2002-03-29 01:56:07 UTC
  • Revision ID: james.westby@ubuntu.com-20020329015607-c0wt03xu8oy9ioj7
Tags: upstream-1.3.11
ImportĀ upstreamĀ versionĀ 1.3.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TOP        = ../..
 
2
SWIG       = $(TOP)/../swig
 
3
 
 
4
# You might have to include some options like -R or -Xlinker -rpath to
 
5
# tell the linker where -lswigpy is located.
 
6
 
 
7
LIBS       = -lswigpy
 
8
SWIGOPT    = -c -shadow 
 
9
 
 
10
all::
 
11
        $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' \
 
12
        SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' TARGET='basec' INTERFACE='base.i' python_cpp
 
13
        $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' \
 
14
        SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' TARGET='fooc' INTERFACE='foo.i' python_cpp
 
15
        $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' \
 
16
        SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' TARGET='barc' INTERFACE='bar.i' python_cpp
 
17
        $(MAKE) -f $(TOP)/Makefile SWIG='$(SWIG)' \
 
18
        SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' TARGET='spamc' INTERFACE='spam.i' python_cpp
 
19
 
 
20
 
 
21
clean::
 
22
        $(MAKE) -f $(TOP)/Makefile python_clean
 
23
        rm foo.py bar.py spam.py base.py
 
24
 
 
25
check: all