/trunk/Examples/lua/simple/Makefile
# · Makefile · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 1451b33f3a71b513210e7b3709f98328 MD5 · raw file
- 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