/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/tcl/funcptr/Makefile
Makefile | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 4eed1b15d0a60412fb3bcda0bdb66716 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1TOP = ../..
2SWIG = $(TOP)/../swig
3SRCS = example.c
4TARGET = my_tclsh
5DLTARGET = example
6INTERFACE = example.i
7
8all::
9 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
10 TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
11
12static::
13 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
14 TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
15
16clean::
17 rm -f *_wrap* *.o my_tclsh *~ .~* core *.so *.sl
18
19check: all