PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/lua/embed2/Makefile

#
Makefile | 18 lines | 12 code | 4 blank | 2 comment | 0 complexity | 3b6f4206ebc0d8b5222a7ae54f75aba6 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3TARGET     = embed2
 4SRCS      = example.c
 5INTERFACE  = example.i
 6LUA_INTERP = embed2.c
 7
 8# this is a little different to normal as we have our own special interpreter
 9# which we want to static link
10all::
11	$(MAKE) -f $(TOP)/Makefile $(SWIGLIB) SRCS='$(SRCS)' SWIG='$(SWIG)' \
12	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='example.i' LUA_INTERP='$(LUA_INTERP)' lua_static
13
14clean::
15	$(MAKE) -f $(TOP)/Makefile lua_clean
16
17check: all
18