]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (ctags): Depend on etags, so that parallel makes
authorJim Blandy <jimb@redhat.com>
Tue, 22 Jun 1993 03:58:05 +0000 (03:58 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 22 Jun 1993 03:58:05 +0000 (03:58 +0000)
don't write etags.o files on top of each other.

lib-src/Makefile.in

index 6ec77277be318340e656f2b8366309ff5ed30dff..91c041b73e0fc70e6ad33e69a123cc511822899f 100644 (file)
@@ -212,7 +212,9 @@ getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h
 etags: ${srcdir}/etags.c $(GETOPTDEPS)
        $(CC) ${CPP_CFLAGS} -DETAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
 
-ctags: ${srcdir}/etags.c $(GETOPTDEPS)
+# We depend on etags to assure that parallel makes don't write two
+# etags.o files on top of each other.
+ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
        $(CC) ${CPP_CFLAGS} -DCTAGS ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
 
 wakeup: ${srcdir}/wakeup.c