Add helper
authorChris Lattner <sabre@nondot.org>
Thu, 16 Jan 2003 21:06:18 +0000 (21:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Jan 2003 21:06:18 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index 0d80d18eafe1d91fe9d58707c799a494bba81389..eb5b4b661dc8ad7ef2f43b458811a52563d1a17b 100644 (file)
@@ -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
index 0d80d18eafe1d91fe9d58707c799a494bba81389..eb5b4b661dc8ad7ef2f43b458811a52563d1a17b 100644 (file)
@@ -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