/trunk/Examples/perl5/xmlstring/Makefile

# · Makefile · 23 lines · 17 code · 6 blank · 0 comment · 0 complexity · 9e6e354dd7d0f6c0ff5d4f3369483570 MD5 · raw file

  1. TOP = ../..
  2. SWIG = $(TOP)/../preinst-swig
  3. CXXSRCS = example.cxx
  4. TARGET = example
  5. INTERFACE = example.i
  6. LIBS = -lxerces-c -lxerces-depdom -lm
  7. all::
  8. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  9. TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS=$(LIBS) CXX="g++ -g3" perl5_cpp
  10. static::
  11. $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
  12. TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_cpp_static
  13. clean::
  14. $(MAKE) -f $(TOP)/Makefile perl5_clean
  15. check: all
  16. run:
  17. perl runme.pl