summaryrefslogtreecommitdiff
path: root/Examples/pike/overload/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/pike/overload/Makefile')
-rw-r--r--Examples/pike/overload/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Examples/pike/overload/Makefile b/Examples/pike/overload/Makefile
new file mode 100644
index 0000000..60af005
--- /dev/null
+++ b/Examples/pike/overload/Makefile
@@ -0,0 +1,19 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-swig
+CXXSRCS = example.cxx
+TARGET = example
+INTERFACE = example.i
+LIBS = -lstdc++ -lm
+
+all::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' pike_cpp
+
+static::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ TARGET='mypike' INTERFACE='$(INTERFACE)' pike_cpp_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile pike_clean
+
+check: all