/trunk/Examples/tcl/variables/Makefile
Makefile | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 8d9ebdb26246bf6d25eb7e2dc7a75c46 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- 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