question about compiling

4197,ATTT rbr at bonnie.ATT.COM
Wed Jan 9 00:52:47 AEST 1991


In article <CSHORT.91Jan7152814 at haywire.nmsu.edu> cshort at nmsu.edu (SpamG*D lord of potted meat products) writes:
>
>hi. 
>
>since my acount size is small, i would like to set up source
>code in a /tmp then compile it into my dir. how would i do this?
>also is the a make toggle that would delete the souce files
>when it is done with them?
>
>thanks
>
>chris
>cshort at nmsu.edu

Use the "-o" option as in:

	cc -O -s -o ~/bin/$PGM $PGM.c

which I use for simple C compilations.

Bob Rager



More information about the Comp.unix.shell mailing list