/trunk/Examples/tcl/funcptr/Makefile

# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 8d9ebdb26246bf6d25eb7e2dc7a75c46 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-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. $(MAKE) -f $(TOP)/Makefile tcl_clean
  15. check: all