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