[llvm-commits] CVS: llvm/utils/TableGen/Makefile

John Criswell criswell at choi.cs.uiuc.edu
Tue Jun 24 13:27:01 PDT 2003


Changes in directory llvm/utils/TableGen:

Makefile updated: 1.4 -> 1.4.2.1

---
Log message:

Added a dependency that forces make to generate the parser header file
before generating header files dependencies.



---
Diffs of the changes:

Index: llvm/utils/TableGen/Makefile
diff -u llvm/utils/TableGen/Makefile:1.4 llvm/utils/TableGen/Makefile:1.4.2.1
--- llvm/utils/TableGen/Makefile:1.4	Tue Dec  3 00:00:11 2002
+++ llvm/utils/TableGen/Makefile	Tue Jun 24 13:26:22 2003
@@ -6,6 +6,13 @@
 
 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





More information about the llvm-commits mailing list