[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

629.0. "Re: re adding targets to a Makefile" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Mar 07 1994 17:08

Date Of Receipt: 	 7-MAR-1994 15:28:07.48
From: 	ALPHA::peterc "Peter Cardimino USG"
To: 	buildhelp@DEC:.zko.alpha
CC: 	peterc@DEC:.zko.alpha
Subj: 	Re:  re adding targets to a Makefile

I'm trying to add some additional targets such that when I build a program
there will be both the expected executable and an instrumented executable.

What I need to do is compile all the .o files into a .rr file and
make an executable .3rd file from the .rr file.


I've tried adding the following in others.mk but that didn't work.

.rr:    $_PROG_OFILES_
        cc $_PROG_OFILES_ -Wl,-r -non_shared -o $*.rr ${_LIBS_}

.3rd:   $*.rr
        atom -A1 $*.rr -o $*.3rd

Can anyone shed some insight on what to do.
thanks,
/peterc

T.RTitleUserPersonal
Name
DateLines