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
commit4348b379b157112a29846182a3e61f22947bacb1 (patch)
tree1d515b4dcaf6a0650817315c2d2e9ab6f5f04f9f
parentaead2f9fa6f8750e414b2dcfab066ee926a5ecc8 (diff)
downloademacs-4348b379b157112a29846182a3e61f22947bacb1.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