diff options
author | jtb <jtb@pkgsrc.org> | 2001-01-28 01:49:59 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-01-28 01:49:59 +0000 |
commit | db8c61208a932500e3b02ee68686fe886d4ab246 (patch) | |
tree | bff02fcf89d342403611db1153724ccb77bbb54e | |
parent | 6259fb853abe4a3adc713f1b247826f747f68069 (diff) | |
download | pkgsrc-db8c61208a932500e3b02ee68686fe886d4ab246.tar.gz |
Use $(BSD_INSTALL_DATA).
-rw-r--r-- | math/randlib/files/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/math/randlib/files/Makefile b/math/randlib/files/Makefile index 675e21b3445..08bf3ee9e28 100644 --- a/math/randlib/files/Makefile +++ b/math/randlib/files/Makefile @@ -1,19 +1,19 @@ LIB = randlib LIBDIR = ${PREFIX}/lib -OBJ= com.o randlib.o linpack.o +OBJS = com.o randlib.o linpack.o -all: lib$(LIB) +all: lib$(LIB).la -lib$(LIB): $(OBJ) - @$(LIBTOOL) --mode=link $(CC) -O -o lib$(LIB).la $(OBJ:.o=.lo) \ - -rpath $(LIBDIR) -version-info 0:0 +lib$(LIB).la: $(OBJS) + $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS:.o=.lo) \ + -lm -rpath $(LIBDIR) -version-info 0:0 .c.o: - @$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $*.c + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $*.c -install: - @$(LIBTOOL) --mode=install install lib$(LIB).la $(LIBDIR) +install: lib$(LIB).la + $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR) clean: - rm -rf *.o *.lo .libs $(LIB).la
\ No newline at end of file + rm -rf *.o *.lo .libs lib$(LIB).la |