[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling environments.




In article <54568@sophia.inria.fr>, durrieu@tantale.cert.fr (Guy Durrieu)
writes:
|> 
|> 
|> Hello,
|> 
|> I would like to have a compiled version of a centaur environnement I
|> developed.
|> 
|> So I wrote a Buildfile:
|> 
|> --------------------------------------------------------------------
|> ROOTDIR=/tantale/centaur-1.2/
|> USERDIR=/udd/deri/durrieu/
|> MODNAME=centaur/tables/lustreV4-w/environnement
|> CMPLC=ctkern
|> 
|> all: allcmplc
|> 
|> allcmplc: $(ROOTDIR)bin/mkcmplc \
|>    $(ROOTDIR) $(USERDIR) $(CMPLC) $(MODNAME)
|> -------------------------------------------------------------------
|> 
|> Whenever I type 'ctmake', I get the following error:
|> 
|> -------------------------------------------------------------------
|> Building sun4OS4/makefile
|> make: Fatal error: Don't know how to make target `ctkern'
|> -------------------------------------------------------------------
|> 
|> However, everything seems to be correct...
|> 
|> What happens ?
|> 
|> --Guy DURRIEU.
|> 
|> 

Hello.
The problem I see is the allcmplc rule. It should be written:
---
 allcmplc: 
	$(ROOTDIR)bin/mkcmplc \
		$(ROOTDIR) $(USERDIR) $(CMPLC) $(MODNAME)
---
And of course, don't forget the <tab>!

Ian