import source from 1.3.40
[external/swig.git] / Examples / lua / arrays / Makefile
1 TOP        = ../..\r
2 SWIG       = $(TOP)/../preinst-swig\r
3 SRCS       = example.c\r
4 TARGET     = example\r
5 INTERFACE  = example.i\r
6 \r
7 all::\r
8         $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \\r
9         TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' lua\r
10 \r
11 static::\r
12         $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \\r
13         TARGET='mylua' INTERFACE='$(INTERFACE)' lua_static\r
14 \r
15 clean::\r
16         $(MAKE) -f $(TOP)/Makefile lua_clean\r
17 \r
18 check: all\r