/trunk/Examples/lua/variables/Makefile
Makefile | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | 1451b33f3a71b513210e7b3709f98328 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 = example
- INTERFACE = example.i
- all::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
- static::
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
- clean::
- $(MAKE) -f $(TOP)/Makefile lua_clean
- check: all