/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
1TOP = ../..
2SWIG = $(TOP)/../preinst-swig
3SRCS = example.c
4TARGET = example
5INTERFACE = example.i
6LIBS =
7
8all::
9 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
10 TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua
11
12static::
13 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
14 TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static
15
16clean::
17 $(MAKE) -f $(TOP)/Makefile lua_clean
18
19check: all