]> granicus.if.org Git - sysstat/commitdiff
Update Makefile to allow for parallel execution
authorSebastien GODARD <sysstat@orange.fr.fake>
Sat, 22 Jun 2013 12:08:40 +0000 (14:08 +0200)
committerSebastien GODARD <sysstat@orange.fr.fake>
Sat, 22 Jun 2013 12:08:40 +0000 (14:08 +0200)
Rewrite rule for librdstats.a in Makefile to prevent possible file
corruption when using make -j.

Makefile.in

index f8e6159e6d6c04e2e86c4289954d93f94e2059f2..159cacf8474925b03c86fa29356c394ddec8a8fc 100644 (file)
@@ -202,7 +202,9 @@ sadf_misc.o: sadf_misc.c sadf.h sa.h
 libsyscom.a: common.o ioconf.o
        $(AR) rvs $@ $?
 
-librdstats.a: librdstats.a(rd_stats.o) librdstats.a(count.o)
+# Ditto
+librdstats.a: rd_stats.o count.o
+       $(AR) rvs $@ $?
 
 librdsensors.a: librdsensors.a(rd_sensors.o)