summaryrefslogtreecommitdiff
path: root/Examples/GIFPlot/Python/full/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/GIFPlot/Python/full/Makefile')
-rw-r--r--Examples/GIFPlot/Python/full/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Examples/GIFPlot/Python/full/Makefile b/Examples/GIFPlot/Python/full/Makefile
new file mode 100644
index 0000000..83a7c86
--- /dev/null
+++ b/Examples/GIFPlot/Python/full/Makefile
@@ -0,0 +1,26 @@
+TOP = ../../..
+SWIG = $(TOP)/../preinst-swig
+SWIGOPT = -I../../Include
+SRCS =
+TARGET = gifplot
+INTERFACE = gifplot.i
+LIBS = -L../.. -lgifplot
+INCLUDES = -I../../Include
+
+all::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
+
+static::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
+ TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile python_clean
+ rm -f $(TARGET).py
+ rm -f *.gif
+
+check: all
+ $(MAKE) -f $(TOP)/Makefile python_run