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 |
Date Of Receipt: 17-MAY-1993 11:31:58.75 From: LOCORE::"[email protected]" To: [email protected] CC: Subj: ODE-II Makefiles Is it possible to invoke shell commands in ODE-II makefiles? If so, what is the syntax? Rich ---------------------------------------------------------------- Rich Larsen, M/S: UNX TCP/IP: [email protected] USSG/User Env. & Std. Group DECnet: UNXA::LARSEN Digital Equipment Corporation FAX: 908-577-6003 200 Route 9 North Voice: 908-577-6083 Manalapan, New Jersey 07726 DTN: 462
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
57.1 | Re: ODE-II Makefiles | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue May 18 1993 16:47 | 31 |
Date Of Receipt: 17-MAY-1993 11:54:48.02 From: FLUME::"[email protected]" "Grant Van Dyck 381-2932" To: "Rich Larsen (908) 577-6083 DTN 462-6083 [email protected]" <[email protected]> CC: [email protected] Subj: Re: ODE-II Makefiles | | Is it possible to invoke shell commands in ODE-II makefiles? If so, | what is the syntax? | | Not sure if this is what you meant, but ... Here is a sample from kernel/conf/template.std.mk for building genassym: genassym.o: ${cpu}/genassym.c if [ `/bin/machine` = alpha ]; then \ COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /bin/cc -std0 -EL ${ALLOPTS} ${V OLATILE} -no_excpt -c ${cpu}/genassym.c; \ else \ ${CC} -std0 -EL ${ALLOPTS} ${VOLATILE} -no_excpt -c ${cpu}/genassym. c; \ fi Note the ; between cmds and the \ on each line. It must appear in the Makefile as a single line command string with no <CR>'s. Default shell is sh. -Grant |