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

« back to all changes in this revision

Viewing changes to Examples/GIFPlot/Python/simple/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-08-02 15:57:10 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040802155710-bm292q1d6x6tw7gc
Tags: 1.3.21-5ubuntu1
Fix linking for ruby, python, perl and tcl bindings

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
TARGET     = simple
6
6
INTERFACE  = simple.i
7
7
LIBS       = -L../.. -lgifplot
8
 
INCLUDE    = -I../../Include
 
8
INCLUDES   = -I../../Include
9
9
 
10
10
all::
11
11
        $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
12
 
        INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
 
12
        INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
13
13
        TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
14
14
 
15
15
static::
16
16
        $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
17
 
        INCLUDE='$(INCLUDE)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
 
17
        INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
18
18
        TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
19
19
 
20
20
clean::
21
 
        rm -f *_wrap* *.o *~ *.so mypython *.pyc .~* core *.gif
 
21
        $(MAKE) -f $(TOP)/Makefile python_clean
 
22
        rm -f $(TARGET).py
 
23
        rm -f *.gif
22
24
 
23
25
check: all