aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/Burg/Makefile2
-rw-r--r--utils/TableGen/Makefile7
2 files changed, 8 insertions, 1 deletions
diff --git a/utils/Burg/Makefile b/utils/Burg/Makefile
index b19c0c2..1022358 100644
--- a/utils/Burg/Makefile
+++ b/utils/Burg/Makefile
@@ -25,4 +25,4 @@ test:: $(TOOLEXENAME_G) sample.gr
$(TOOLEXENAME_G) -I sample.gr -o tmp && cmp tmp sample.c
$(TOOLEXENAME_G) -I -O0 <sample.gr >tmp && cmp tmp sample.c
$(TOOLEXENAME_G) -I -= <sample.gr >tmp && cmp tmp sample.c
- rm -f tmp sample.c
+ $(RM) -f tmp sample.c
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