On Sun, 8 Aug 2004 00:09:43 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:

> On Sat, 7 Aug 2004 22:06:51 +0200
> Vincent Snijders <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > If I do make clean in for example the fcl/db/dbase or fcl/image all ppu files are 
> > removed, but not the .o files. I tried to find out, how this can be fixed.
> > 
> > A Makefile contains these two lines:
> > override CLEANPPUFILES:=$(addprefix $(UNITTARGETDIRPREFIX),$(CLEANPPUFILES))
> > 
> > override CLEANPPULINKFILES:=$(wildcard $(addprefix 
> > $(UNITTARGETDIRPREFIX),$(CLEANPPULINKFILES)))
> > 
> > Since I very new to reading make files, I don't know what the wildcard in the 
> > CLEANPPULINKFILES is suposed to do.If I remove it .o files are removed.
> > 
> > Is it correct to remove the wildcard?
> I did some further research. The wildcard is used so that only existing files are 
> removed. I had no .o files for the fpImage units, so no rm statement was generated 
> and I thought they were not removed. The output from fcl/image IS removed.
> 
In case anybody is interested, I replaced the make from the fpc distribution with the 
lasted mingw32-make.exe and it correctly interprets the wildchar makefile command(?). 

I would like to suggest that fpc updates the make utility, it distributes with its 
releases.

Regards,
Vincent.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to