summaryrefslogtreecommitdiff
path: root/Examples/pike/constants/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/pike/constants/Makefile')
-rwxr-xr-xExamples/pike/constants/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/pike/constants/Makefile b/Examples/pike/constants/Makefile
new file mode 100755
index 000000000..bac67449f
--- /dev/null
+++ b/Examples/pike/constants/Makefile
@@ -0,0 +1,18 @@
+TOP = ../..
+SWIG = $(TOP)/../swig
+SRCS =
+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