/trunk/Examples/lua/simple/Makefile

# · Makefile · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 1451b33f3a71b513210e7b3709f98328 MD5 · raw file

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