summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/tools/TableGen/Makefile7
-rw-r--r--utils/TableGen/Makefile7
2 files changed, 6 insertions, 8 deletions
diff --git a/support/tools/TableGen/Makefile b/support/tools/TableGen/Makefile
index 667998242f..226fefa0e9 100644
--- a/support/tools/TableGen/Makefile
+++ b/support/tools/TableGen/Makefile
@@ -9,14 +9,13 @@ clean::
-rm -f FileParser.output
-dump::
+dump:: $(TOOLEXENAME_G)
$(TOOLEXENAME_G) < X86.td
-parse:
+parse: $(TOOLEXENAME_G)
$(TOOLEXENAME_G) < X86.td -parse
-test::
-
+test:: $(TOOLEXENAME_G)
@echo "enum {"
@$(TOOLEXENAME_G) < X86.td -class=Register
@echo
diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile
index 667998242f..226fefa0e9 100644
--- a/utils/TableGen/Makefile
+++ b/utils/TableGen/Makefile
@@ -9,14 +9,13 @@ clean::
-rm -f FileParser.output
-dump::
+dump:: $(TOOLEXENAME_G)
$(TOOLEXENAME_G) < X86.td
-parse:
+parse: $(TOOLEXENAME_G)
$(TOOLEXENAME_G) < X86.td -parse
-test::
-
+test:: $(TOOLEXENAME_G)
@echo "enum {"
@$(TOOLEXENAME_G) < X86.td -class=Register
@echo