summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-16 21:06:18 +0000
committerChris Lattner <sabre@nondot.org>2003-01-16 21:06:18 +0000
commit30440c63426358acde919912437f56904de76408 (patch)
treed64824d37ad8b5bcebf51e4dbe55157be85268f7 /Makefile.common
parent995663e58d67e1ca9ada579a632407dfcab5ffd7 (diff)
downloadllvm-30440c63426358acde919912437f56904de76408.tar.gz
llvm-30440c63426358acde919912437f56904de76408.tar.bz2
llvm-30440c63426358acde919912437f56904de76408.tar.xz
Add helper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 0d80d18eaf..eb5b4b661d 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -468,6 +468,10 @@ $(BUILD_ROOT)/Debug/%.o: %.c $(BUILD_ROOT)/Debug/.dir
$(VERB) mkdir -p $(@D)
@date > $@
+# To create postscript files from dot files...
+%.ps: %.dot
+ dot -Tps < $< > $@
+
# 'make clean' nukes the tree
clean::
$(VERB) rm -rf $(BUILD_ROOT)/Debug $(BUILD_ROOT)/Release $(BUILD_ROOT)/Profile $(BUILD_ROOT)/Depend