diff options
Diffstat (limited to 'Examples/python/pointer/Makefile')
-rw-r--r-- | Examples/python/pointer/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Examples/python/pointer/Makefile b/Examples/python/pointer/Makefile new file mode 100644 index 0000000..0f4a1e0 --- /dev/null +++ b/Examples/python/pointer/Makefile @@ -0,0 +1,20 @@ +TOP = ../.. +SWIG = $(TOP)/../preinst-swig +SRCS = example.c +TARGET = example +INTERFACE = example.i + +all:: + $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ + TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python + +static:: + $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ + TARGET='mypython' INTERFACE='$(INTERFACE)' python_static + +clean:: + $(MAKE) -f $(TOP)/Makefile python_clean + rm -f $(TARGET).py + +check: all + $(MAKE) -f $(TOP)/Makefile python_run |