[Pkg-octave-commit] [SCM] octave-symbolic branch, master, updated. a718b53403d9f164f8c2a3df521385a01d28a11b
bensapp
bensapp at 416fae20-06d0-4450-9b69-c6c34d4b5f03
Mon Jan 3 03:40:08 UTC 2011
The following commit has been merged in the master branch:
commit 610535dd421b5d2275c0c160d3e0786a126d592d
Author: bensapp <bensapp at 416fae20-06d0-4450-9b69-c6c34d4b5f03>
Date: Thu Jan 3 23:32:52 2002 +0000
Copied the way linking is done from the sparse Makefile.
git-svn-id: https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/symbolic@106 416fae20-06d0-4450-9b69-c6c34d4b5f03
diff --git a/Makefile b/Makefile
index 2908d48..0111072 100644
--- a/Makefile
+++ b/Makefile
@@ -17,10 +17,18 @@ ifdef HAVE_GINAC
GINAC_CPP_FLAGS=$(shell ginac-config --cppflags)
GINAC_LD_FLAGS=$(shell ginac-config --libs)
+FUNCTIONS=vpa sym is_vpa is_sym is_ex to_double digits\
+ Cos Sin Tan aCos aSin aTan Cosh Sinh Tanh aCosh\
+ aSinh aTanh Exp Log subs differentiate expand\
+ collect coeff lcoeff tcoeff degree ldegree quotient\
+ remainder premainder Pi
+OBJLINKS=$(addsuffix .oct,$(FUNCTIONS))
+
all: symbols.oct
symbols.oct: $(OBJ)
- $(MKOCTFILE) -v -o $@ $(OBJ) $(GINAC_LD_FLAGS)
+ $(MKOCTFILE) -v -o $@ $(OBJ) $(GINAC_LD_FLAGS) ; \
+ for i in $(OBJLINKS); do ln -sf symbols.oct $$i ; done
else
--
octave-symbolic
More information about the Pkg-octave-commit
mailing list