summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Slice/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Slice/Makefile b/cpp/src/Slice/Makefile
index 68bedc67d7c..303cecc6761 100644
--- a/cpp/src/Slice/Makefile
+++ b/cpp/src/Slice/Makefile
@@ -54,8 +54,10 @@ $(libdir)/$(LIBNAME): $(libdir)/$(SONAME)
ln -s $(SONAME) $@
endif
-# Needed for make -jn to work.
-../Slice/Grammar.y: Grammar.h
+#
+# The .y rule does not work well with parallel builds; need to investigate
+#
+.NOTPARALLEL:
clean::
rm -f Grammar.cpp Grammar.h