diff options
author | jtb <jtb> | 2001-01-29 05:46:57 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-01-29 05:46:57 +0000 |
commit | 4e22f3a6465c015b8d7a6e8f745fb959e9bcc754 (patch) | |
tree | 2aab5aa85471bd432901826a44d4eb0055a19e0f /math/meschach | |
parent | fee30855f1fb792fffbfc24fca908b21c6230a25 (diff) | |
download | pkgsrc-4e22f3a6465c015b8d7a6e8f745fb959e9bcc754.tar.gz |
Don't override CFLAGS. Use BSD_INSTALL_*.
Diffstat (limited to 'math/meschach')
-rw-r--r-- | math/meschach/files/makefile.in | 11 |
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 |