linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Making "make" auto-strip and auto-clean
@ 2006-02-26  4:05 Shriramana Sharma
  2006-02-26  8:56 ` wwp
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shriramana Sharma @ 2006-02-26  4:05 UTC (permalink / raw)
  To: Linux C Programming List

I would like make to always 

1. strip the executable it created
2. remove the *.o files it created

after it has compiled the target executable. How do I do this? What do I add 
to the makefile? The current default command I am using is: 

pan: pan.o libswe.a
	gcc -g -O2 -o pan pan.o -L. -lswe -lm

Thanks.

-- 

Tux #395953 resides at http://samvit.org
playing with KDE 3.51 on SUSE Linux 10.0
$ date [] CCE +2006-02-26 W08-7 UTC+0530

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-26 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26  4:05 Making "make" auto-strip and auto-clean Shriramana Sharma
2006-02-26  8:56 ` wwp
2006-02-26 12:21   ` Shriramana Sharma
2006-02-26 14:10 ` leslie.polzer
2006-02-26 15:54 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).