1833053 Members
2347 Online
110049 Solutions
New Discussion

Unable to read $VROOT

 
krjeev
Occasional Advisor

Unable to read $VROOT

My nmake does not reads VROOT for include command in Makefile:
-> nmake
make: "Makefile", line 23: GlobalMakefile: cannot read include file
make: don't know how to make gen_code : gen_code.sh
->

My Makefile is as below:
-> cat Makefile
include $(VROOT)/GlobalMakefile
CCOMP = cc
KSH_SCRIPTS = gen_code gen_i_g2 gen_rctypes gen_snap gen_const gen_fform gen_rmOS tmplcomp mkgraphs checkdraw mkdag set_ord stp gen_sopnm_priv_g2 gen_sopnm_pub_g2 gen_def_priv_hdr
EXECUTABLES = tmpl_expander
:INSTALLDIR: $(KSH_SCRIPTS)
gen_code :: gen_code.sh
gen_i_g2 :: gen_i_g2.sh
gen_rctypes :: gen_rctypes.sh
gen_snap :: gen_snap.sh
gen_const :: gen_const.sh
gen_fform :: gen_fform.sh
gen_rmOS :: gen_rmOS.sh
tmplcomp :: tmplcomp.sh
set_ord :: set_ord.sh
stp :: stp.sh
mkgraphs :: mkgraphs.sh
checkdraw :: checkdraw.sh
mkdag :: mkdag.sh
gen_sopnm_pub_g2 :: gen_sopnm_pub_g2.sh
gen_sopnm_priv_g2 :: gen_sopnm_priv_g2.sh
gen_def_priv_hdr :: gen_def_priv_hdr.sh
tmpl_expander :: tmp_expmain.c tmpl_expander.c -l++

$(BINDIR) :INSTALLDIR: $(EXECUTABLES)
$(SHBIN_DIR) :INSTALLDIR: $(KSH_SCRIPTS)
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Unable to read $VROOT

>My nmake does not reads VROOT for include command in Makefile:

Is VROOT something magical to nmake? Were you suppose to define it on the make command line?