/tags/rel-1.3.35/Examples/lua/funcptr3/Makefile

# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · a6ddbd790b3794bc52a9be353637cb87 MD5 · raw file

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