summaryrefslogtreecommitdiff
path: root/Examples/pike/simple/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/pike/simple/Makefile')
-rw-r--r--Examples/pike/simple/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/pike/simple/Makefile b/Examples/pike/simple/Makefile
new file mode 100644
index 0000000..544c97b
--- /dev/null
+++ b/Examples/pike/simple/Makefile
@@ -0,0 +1,18 @@
+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)' pike
+
+static:
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ TARGET='mypike' INTERFACE='$(INTERFACE)' pike_static
+
+clean:
+ $(MAKE) -f $(TOP)/Makefile pike_clean
+
+check: all