Add helper

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-01-16 21:06:18 +00:00
parent 995663e58d
commit 30440c6342
2 changed files with 8 additions and 0 deletions

View 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

View 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