/trunk/Examples/pike/class/Makefile

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

  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. CXXSRCS = example.cxx
  4. TARGET = example
  5. INTERFACE = example.i
  6. LIBS = -lm
  7. all:
  8. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' pike_cpp
  10. static:
  11. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  12. TARGET='mypike' INTERFACE='$(INTERFACE)' pike_cpp_static
  13. clean:
  14. $(MAKE) -f $(TOP)/Makefile pike_clean
  15. check: all