/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/tcl/operator/Makefile

# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 223606897963aaa996a57eab11871ce6 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../swig
  3. CXXSRCS =
  4. TARGET = example
  5. INTERFACE = example.i
  6. LIBS = -lm
  7. all::
  8. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' tcl_cpp
  10. static::
  11. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  12. TARGET='mytclsh' INTERFACE='$(INTERFACE)' tclsh_cpp_static
  13. clean::
  14. rm -f *_wrap* *.o *~ *.so mytclsh *.pyc .~* core
  15. check: all