From: Chris Lattner Date: Thu, 16 Jan 2003 21:06:18 +0000 (+0000) Subject: Add helper X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=30440c63426358acde919912437f56904de76408;p=oota-llvm.git Add helper git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.common b/Makefile.common index 0d80d18eafe..eb5b4b661dc 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 0d80d18eafe..eb5b4b661dc 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