[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNIX newbie question



joko@crl.com (Joe Kohn) writes:
>One more simple question. I now have a subdirectory that is filled with 
>source code and executables and doc files and many many many other files.
>Is there are rule of thumb as to what files can be deleted after a compile?

	"make clean". :)
	usually, "rm *.o" is about the best you can do.

>Doing a ls -lt, the following appear:

	[long list deleted.]

>Are there any particular suffixes that I can safely delete? Once 
>everything is comiled, can I just delete everything except the actual 
>cjpeg and djpeg files?

	Since it compiled so cleanly, yes.
	Anytime that I have to make changes to a program, I always keep that
modified source around.  All of the source.  And I usually make notes about
what I had to change in the Changelog.  That way, if I ever run into a
problem or need to upgrade once more, I know what to start looking with.
And if the author is gracious enough to respond to the email, then the
fixes may eventually be folded back in.
--
Anthony J. Stuckey		stuckey@mrcnext.cso.uiuc.edu
"And if you frisbee-throw a universe where does it go?" -- Steve Blunt.
GCS/S -d+@ p c(++) l u+ e+(-) m+(*) s+++/-- !n h(*) f+ g+ w+ t+@ r y?
KiboNumber == 1