[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

664.0. "Forwarding ...." by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Thu Mar 24 1994 11:27

Date Of Receipt: 	24-MAR-1994 10:39:53.30
	Thu, 24 Mar 94 10:25:44 EST
From: 	FLUME::"[email protected]" "Grant Van Dyck"
	Dan Christians <dc>
To: 	[email protected]
	odehelp
CC: 	[email protected]
	dc (Dan Christians USG)
Subj: 	Forwarding ....
Return-Path: 	dc
	dc
Delivery-Date: 	Thu, 24 Mar 94 10:26:45 -0500
Received: 	by cardinal.zk3.dec.com; id AA06451; Thu, 24 Mar 1994 10:26:44 -0500
	by alpha.zk3.dec.com; id AA11045; Thu, 24 Mar 1994 10:25:45 -0500
	by eagle.zk3.dec.com; (5.65/1.1.8.2/14Feb94-0149PM)
id AA08768; Thu, 24 Mar 1994 10: 	25:44 -0500
Message-Id: 	<[email protected]>
Subject: 	what does bad MAKEDIR mean, can you build within a Makefile

hi,

first, thanks to Jim McGinness for helping with me 
with my last problem.  i am now able to build a library
and export the header files which goes along with it
using DATAFILES.


i am now writing the Makefile for the programs which will use
this library and would like to have a dependency such that the
library will get built if it doesn't exist.

here is the relavent part of the makefile:


$(PROGRAMS):    libthreadRace.a

libthreadRace.a:
        build -here /sqa/threadRace


what i would like is for the Makefile to check that the
library exists, if it doesn't then have it
call build to build it.

this is what i get:

% build
relative path: ./sqa/exer/kern.
cd ../../../../obj/alpha/sqa/exer/kern
build -here /sqa/threadRace
cd ... ./sqa/threadRace.
Directory /u1/sb/src/sqa/threadRace not found - create  [yes]  /u1/sb/src/sqa/threadRace: created directory
Make: ../../src/sqa/threadRace: bad MAKEDIR.  Stop.
*** Exit 1

i don't understand the error message regarding MAKEDIR.

any help would be appreciated.

thanks much!

dan christians




T.RTitleUserPersonal
Name
DateLines