Keil Logo Arm Logo

Discussion Forum

How do I do a 'make clean'

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Jon Dufresne
Posted
9-Oct-2006 18:47 GMT
Toolset
C51
New! How do I do a 'make clean'

I am used to using a Makefile with my coding projects. Right now I am prepping my source folder for submission and I do not want to include all the temporary, object, and binary files. Is there a convenient way to remove all these files such as a 'make clean' in many Makefiles?

Read-Only
Author
Andy Neil
Posted
9-Oct-2006 21:15 GMT
Toolset
C51
New! RE: How do I do a 'make clean'

No, there isn't.

The easiest way is to specify a folder for the object files on the 'Output' tab of the project options. This folder is also used for all those other "temporary" files.

then you can just delete *.* in that folder.

This is a good thing to do anyway, as Keil's "Rebuild All" doesn't quite do a completely clean build (unless that's changed recently); eg, see:

http://www.keil.com/forum/docs/thread6326.asp

http://www.keil.com/forum/docs/thread6421.asp

Read-Only
Author
Jon Dufresne
Posted
9-Oct-2006 21:46 GMT
Toolset
C51
New! RE: How do I do a 'make clean'

Thanks for the help, I'll give that a shot.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.