+ Use libtool instead of ar/ranlib, which correctly handles dependencies

(eg. for parallel makes)
merge-requests/1/head
Ilia Sotnikov 2007-06-12 06:38:58 +00:00
rodzic aa25569539
commit b861ff6af5
2 zmienionych plików z 4 dodań i 6 usunięć

Wyświetl plik

@ -69,9 +69,8 @@ DISTFILES = Makefile.in alloca.c getenv.c getopt.c getopt1.c \
all: $(TARGETS)
liblib.a: $(LIBLIB_OBJS)
ar r $@ $(LIBLIB_OBJS)
$(RANLIB) $@
liblib.a: $(LIBLIB_LTOBJS)
@$(LIBTOOL) $(MLINK) $(CC) $(LIBLIB_LTOBJS) -o $@
install:

Wyświetl plik

@ -85,9 +85,8 @@ DISTFILES = Makefile.in linux_sg3_err.h os2_srb.h sanei_DomainOS.c \
all: $(TARGETS)
libsanei.a: $(LIBSANEI_OBJS)
ar r $@ $(LIBSANEI_OBJS)
$(RANLIB) $@
libsanei.a: $(LIBSANEI_LTOBJS)
$(LIBTOOL) $(MLINK) $(CC) $(LIBSANEI_LTOBJS) -o $@
install: