summaryrefslogtreecommitdiff
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/Makefile.in')
-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