summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-22 03:58:05 +0000
committerJim Blandy <jimb@redhat.com>1993-06-22 03:58:05 +0000
commitc27fd61312b9a6b37b3c6ad4ac382d7a3b5d738f (patch)
treee5f5afe1e5ae328725b9923885adcddc104c946f
parent2409649888c4202d2bd048a949fc79976ec95305 (diff)
downloademacs-c27fd61312b9a6b37b3c6ad4ac382d7a3b5d738f.tar.gz
* Makefile.in (ctags): Depend on etags, so that parallel makes
don't write etags.o files on top of each other.
-rw-r--r--lib-src/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 6ec77277be3..91c041b73e0 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -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