swig/SWIG/Examples/python/enum/Makefile
Marcelo Matus 922969907b use preinst-swig in all the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:48:51 +00:00

20 lines
490 B
Makefile

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)' python_cpp
static::
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
clean::
$(MAKE) -f $(TOP)/Makefile python_clean
rm -f $(TARGET).py
check: all