/trunk/Examples/perl5/xmlstring/Makefile
Makefile | 23 lines | 17 code | 6 blank | 0 comment | 0 complexity | 9e6e354dd7d0f6c0ff5d4f3369483570 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- CXXSRCS = example.cxx
- TARGET = example
- INTERFACE = example.i
- LIBS = -lxerces-c -lxerces-depdom -lm
- all::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS=$(LIBS) CXX="g++ -g3" perl5_cpp
- static::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_cpp_static
- clean::
- $(MAKE) -f $(TOP)/Makefile perl5_clean
- check: all
- run:
- perl runme.pl