From 480021e7882f88c73004e281579b2da04f5044b2 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 14 Jun 2011 14:56:10 +0000 Subject: [PATCH] added '--noclean' option --- code/setup/setup_code.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/setup/setup_code.py b/code/setup/setup_code.py index dd8398fa4..9f8f0efbc 100755 --- a/code/setup/setup_code.py +++ b/code/setup/setup_code.py @@ -30,4 +30,6 @@ for arch in architectures: childFile.close() os.system('make --directory %s'%wd) -os.system('make --directory %s clean'%wd) + +if not '--noclean' in [s.lower() for s in sys.argv]: + os.system('make --directory %s clean'%wd)