Try to search your question here, if you can't find : Ask Any Question Now ?

Ignore clean command in Makefile

HomeCategory: stackoverflowIgnore clean command in Makefile
craig asked 2 weeks ago

I have a project to compile with a lot of makefiles including a clean command. That’s why i always have to start over again if there is an error (because the clean command is called in many Makefiles)

Question:

Is there any possibility to tell make to ignore the clean command? I would have to touch > 100 Makefiles otherwise. I would like make to start on the last error, not compiling all done stuff again

Example Makefile entries:

clean: cleansubdirs $(DIR) $(DIR1)
   $(DIR2)
1 Answers
Best Answer
Amit answered 2 weeks ago
Your Answer

18 + 20 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com