/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
- TOP = ../..
- SWIG = $(TOP)/../swig
- SRCS = example.c
- TARGET = my_tclsh
- DLTARGET = example
- INTERFACE = example.i
- all::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
- clean::
- rm -f *_wrap* *.o my_tclsh *~ .~* core *.so *.sl
- check: all