aboutsummaryrefslogtreecommitdiff
path: root/src/gr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gr/Makefile')
-rw-r--r--src/gr/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gr/Makefile b/src/gr/Makefile
new file mode 100644
index 0000000..892450c
--- /dev/null
+++ b/src/gr/Makefile
@@ -0,0 +1,29 @@
+# Makefile for GR code
+# $Id: Makefile,v 1.1.1.1 2001-06-14 11:53:21 jthorn Exp $
+
+#
+# Environment Variables:
+# MAPLE_VERSION used via @ifdef for version control in Maple code;
+# typically set to something like MAPLE_V_RELEASE_4
+#
+# Targets:
+# mm ==> preprocess all *.maple files to produce *.mm files
+# clean ==> delete *.mm (mpp Maple preprocessor output)
+# run ==> load all the code into Maple
+#
+
+###############################################################################
+
+.PHONY : mm
+mm : $(patsubst %.maple, %.mm, $(wildcard *.maple))
+
+%.mm : %.maple $(wildcard *.minc $(gfa_dir)/*.minc $(gfa_dir)/*.maple)
+ mpp -D$(MAPLE_VERSION) <$< >$@
+
+.PHONY : clean
+clean :
+ -rm *.mm
+
+.PHONY : run
+run : mm
+ maple -f <setup.mm >maple.log