aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/targetfile.cpp')
-rw-r--r--src/targetfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/targetfile.cpp b/src/targetfile.cpp
index 3743297..6ea83d5 100644
--- a/src/targetfile.cpp
+++ b/src/targetfile.cpp
@@ -72,6 +72,7 @@ void TargetFile::clean( Build &bld )
72 { 72 {
73 if( access( (*i)->getTarget().c_str(), W_OK ) == 0 ) 73 if( access( (*i)->getTarget().c_str(), W_OK ) == 0 )
74 { 74 {
75 (*i)->setRule("clean");
75 bld.getView()->beginPerform( *i ); 76 bld.getView()->beginPerform( *i );
76 unlink( (*i)->getTarget().c_str() ); 77 unlink( (*i)->getTarget().c_str() );
77 bld.getView()->endPerform(); 78 bld.getView()->endPerform();