PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/perl5/xmlstring/Makefile

#
Makefile | 23 lines | 17 code | 6 blank | 0 comment | 0 complexity | 9e6e354dd7d0f6c0ff5d4f3369483570 MD5 | raw file
 1TOP        = ../..
 2SWIG       = $(TOP)/../preinst-swig
 3CXXSRCS    = example.cxx
 4TARGET     = example
 5INTERFACE  = example.i
 6LIBS       = -lxerces-c -lxerces-depdom -lm
 7
 8all::
 9	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
10	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' LIBS=$(LIBS) CXX="g++ -g3" perl5_cpp
11
12static::
13	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
14	TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_cpp_static
15
16clean::
17	$(MAKE) -f $(TOP)/Makefile perl5_clean
18
19check: all
20
21
22run:
23	perl runme.pl