summaryrefslogtreecommitdiff
path: root/math/meschach
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-01-29 05:46:57 +0000
committerjtb <jtb@pkgsrc.org>2001-01-29 05:46:57 +0000
commit398d812b4cebbb2ecc1c879d2d4b0ad9fe84867a (patch)
tree2aab5aa85471bd432901826a44d4eb0055a19e0f /math/meschach
parente2d3d3d866d1106d23d6de15926d599402d596e9 (diff)
downloadpkgsrc-398d812b4cebbb2ecc1c879d2d4b0ad9fe84867a.tar.gz
Don't override CFLAGS. Use BSD_INSTALL_*.
Diffstat (limited to 'math/meschach')
-rw-r--r--math/meschach/files/makefile.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/math/meschach/files/makefile.in b/math/meschach/files/makefile.in
index 0ad92c4f0a3..31d10afae7e 100644
--- a/math/meschach/files/makefile.in
+++ b/math/meschach/files/makefile.in
@@ -3,7 +3,6 @@ CC = @CC@
DEFS = @DEFS@
LIBS = @LIBS@
LIBDIR = ${PREFIX}/lib
-CFLAGS = -O2 -ansi -pedantic
OBJ = copy.o err.o matrixio.o memory.o vecop.o matop.o pxop.o \
submat.o init.o otherio.o machine.o matlab.o ivecop.o version.o \
@@ -16,17 +15,17 @@ OBJ = copy.o err.o matrixio.o memory.o vecop.o matop.o pxop.o \
zqrfctr.o zgivens.o zhessen.o zschur.o conjgrad.o lanczos.o \
arnoldi.o
-all: libmeschach.la
+all: libmeschach.la
libmeschach.la: $(OBJ)
- @$(LIBTOOL) $(CC) -O -o $@ $(OBJ:.o=.lo) \
+ $(LIBTOOL) $(CC) $(CFLAGS) -o $@ $(OBJ:.o=.lo) -lm \
-rpath $(LIBDIR) --version-info 0:0
-install:
- @$(LIBTOOL) --mode=install install -c libmeschach.la $(LIBDIR)
+install: libmeschach.la
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR)
.c.o:
- @$(LIBTOOL) $(CC) -c $(CFLAGS) $(DEFS) $<
+ $(LIBTOOL) $(CC) -c $(CFLAGS) $(DEFS) $<
clean:
rm -fr *.o *.lo *.core asx5213a.mat iotort.dat *.la