/trunk/Examples/tcl/std_vector/Makefile

# · Makefile · 20 lines · 16 code · 4 blank · 0 comment · 0 complexity · d546d54099e25dc47327795ec241c2b6 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. CXXSRCS =
  4. TARGET = my_tclsh
  5. DLTARGET = example
  6. INTERFACE = example.i
  7. LIBS = -lm
  8. all::
  9. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  10. TARGET='$(DLTARGET)' INTERFACE='$(INTERFACE)' tcl_cpp
  11. static::
  12. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  13. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tclsh_cpp_static
  14. clean::
  15. $(MAKE) -f $(TOP)/Makefile tcl_clean
  16. check: all