diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-13 13:53:38 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-13 13:53:38 +0000 |
commit | b9b45cb031294b998fed34e85547a1e8aab1963b (patch) | |
tree | 6ecf2f2d8b009bc4def13d7d35102a3db1aea928 /src/maple | |
parent | 14500fa2f7791b95d17492fa3f0d8692faf39fe8 (diff) |
don't pass an empty -D option to mpp if $MAPLE_VERSION isn't defined
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@507 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/maple')
-rw-r--r-- | src/maple/makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/maple/makefile b/src/maple/makefile index efa1333..a13e4da 100644 --- a/src/maple/makefile +++ b/src/maple/makefile @@ -1,5 +1,5 @@ # Makefile for maple code -# $Id: makefile,v 1.1 2002-04-13 13:49:23 jthorn Exp $ +# $Id: makefile,v 1.2 2002-04-13 13:53:38 jthorn Exp $ # # Environment Variables: @@ -13,13 +13,17 @@ # run ==> load all the code into Maple # +ifneq ($(MAPLE_VERSION),) +MPP_FLAGS := -D$(MAPLE_VERSION) +endif + ############################################################################### .PHONY : mm mm : $(patsubst %.maple, %.mm, $(wildcard *.maple)) %.mm : %.maple $(wildcard *.minc $(gfa_dir)/*.minc $(gfa_dir)/*.maple) - ../misc/mpp -D$(MAPLE_VERSION) <$< >$@ + ../misc/mpp $(MPP_FLAGS) <$< >$@ .PHONY : clean clean : |