/tags/rel-1.3.35/Examples/lua/funcptr3/Makefile
Makefile | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | a6ddbd790b3794bc52a9be353637cb87 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
- LIBS =
- 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