Hello Shiramana, On Sun, Feb 26, 2006 at 09:35:27AM +0530, Shriramana Sharma wrote: > I would like make to always > > 1. strip the executable > 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 I'm not sure I understand your question. Here's my answer, though: pan: pan.o libswe.a gcc -g -O2 -o pan pan.o -L. -lswe -lm strip pan rm -f *.o Leslie -- gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289 http://nic-nac-project.de/~skypher/
Attachment:
pgpNMul2eNQFK.pgp
Description: PGP signature