aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile
index 21c68c6..98417d2 100644
--- a/utils/TableGen/Makefile
+++ b/utils/TableGen/Makefile
@@ -6,6 +6,13 @@ USEDLIBS = support.a
include $(LEVEL)/Makefile.common
+#
+# Make the source file depend on the header file. In this way, dependencies
+# (which depend on the source file) won't get generated until bison is done
+# generating the C source and header files for the parser.
+#
+FileLexer.cpp: FileParser.h
+
clean::
-rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
-rm -f FileParser.output