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
Avatarcraig asked 5 months 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
AvatarAmit answered 5 months ago
Your Answer

10 + 18 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com