/trunk/Examples/tcl/funcptr/Makefile
# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 8d9ebdb26246bf6d25eb7e2dc7a75c46 MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-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::
- $(MAKE) -f $(TOP)/Makefile tcl_clean
- check: all