/tags/rel-1-3-26/SWIG/Examples/pike/simple/Makefile

# · Makefile · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 7ee49a18df4e91faedea15e2aac30e96 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../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)' pike
  9. static:
  10. $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
  11. TARGET='mypike' INTERFACE='$(INTERFACE)' pike_static
  12. clean:
  13. $(MAKE) -f $(TOP)/Makefile pike_clean
  14. check: all