Commit 36130b3d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use $(RANLIB) and $(TOUCHLIB) instead of "ranlib" and "ranlib -t".

parent 15e30775
......@@ -13,14 +13,14 @@ all: $(LIBNAME)
libmisc.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $(LIBNAME) $?
ranlib $(LIBNAME)
$(RANLIB) $(LIBNAME)
includes:;
libraries: $(LIBNAME)
$(RM) $(LIBDIR)/$(LIBNAME)
cp $(LIBNAME) $(LIBDIR)/$(LIBNAME)
ranlib $(LIBDIR)/$(LIBNAME)
$(RANLIB) $(LIBDIR)/$(LIBNAME)
binaries:;
......
......@@ -25,7 +25,7 @@ server-dir:
.PHONY: liblyskom-server.a
liblyskom-server.a: server-dir
(cd server-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DSERVER)
ranlib $@
$(RANLIB) $@
../liblyskom-server.a: $(LIBOBJS)
......@@ -34,7 +34,7 @@ liblyskom-server.a: server-dir
.PHONY: liblyskom-client.a
liblyskom-client.a: client-dir
(cd client-dir;$(MAKE) $(EXPORTS) -f ../Makefile ../$@ TARGET=-DCLIENT)
ranlib $@
$(RANLIB) $@
../liblyskom-client.a: $(LIBOBJS)
......@@ -48,7 +48,7 @@ clean:
libraries: includes all
(cd $(LIBDIR); $(RM) $(LIBRARIES))
cp $(LIBRARIES) $(LIBDIR)
(cd $(LIBDIR); ranlib -t $(LIBRARIES))
(cd $(LIBDIR); $(TOUCHLIB) $(LIBRARIES))
include $(SCRIPTDIR)/install-includes.make
......
......@@ -15,12 +15,12 @@ all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(AR) $(ARFLAGS) $(LIBNAME) $?
ranlib $(LIBNAME)
$(RANLIB) $(LIBNAME)
libraries: $(LIBNAME)
$(RM) $(LIBDIR)/$(LIBNAME)
cp $(LIBNAME) $(LIBDIR)/$(LIBNAME)
ranlib -t $(LIBDIR)/$(LIBNAME)
$(TOUCHLIB) $(LIBDIR)/$(LIBNAME)
include $(SCRIPTDIR)/install-includes.make
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment