/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

  1. TOP = ../..
  2. SWIG = $(TOP)/../swig
  3. SRCS = example.c
  4. TARGET = my_tclsh
  5. DLTARGET = example
  6. INTERFACE = example.i
  7. all::
  8. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl
  10. static::
  11. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  12. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh
  13. clean::
  14. rm -f *_wrap* *.o my_tclsh *~ .~* core *.so *.sl
  15. check: all