/trunk/Examples/perl5/class/Makefile
# · Makefile · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · cb097c4194d1b30d19150c186fc25ebb MD5 · raw file
- TOP = ../..
- SWIG = $(TOP)/../preinst-swig
- CXXSRCS = example.cxx
- TARGET = example
- INTERFACE = example.i
- LIBS = -lm
- all::
- $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' 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