Re: [AD] alplatf.h problem

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> (you may want to do this a lot if you modify a c file
> and want to see that it works on several platforms)

Quite right.

> then _all_ djgpp files are rebuilt the second time as
> well, since they all depend on alplatf.h which gets a
> new date when fix.bat regenerates it.

Yes, not very smart...

> I can think of two solutions to this:
>
>  (1) revert to the old way of detecting platform.

I think the current way is the right one because it is more flexible than
the former.

>  (2) add a sed script in make depend that removes
>       alplatf.h from dependencies.

Personally I use a little 'touch -t 01010000 alplat.h'.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/