From 30440c63426358acde919912437f56904de76408 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 16 Jan 2003 21:06:18 +0000 Subject: Add helper git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 4 ++++ Makefile.rules | 4 ++++ 2 files changed, 8 insertions(+) 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 diff --git a/Makefile.rules b/Makefile.rules index 0d80d18eaf..eb5b4b661d 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 -- cgit v1.2.3