Re: [AD] makefile.tst fix

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


I wrote:
> Here's a patch that makes makefile.tst work when there is no support

This broke compilation under djgpp and msvc. It seems that make
interprets 

	echo /* foo */ > bar

as if it were

	echo $(wildcard /* foo */) > bar

i.e., it prints a list of all files on the root directory into bar. This
is djgpp's make's fault, because it works correctly from dos and with
mingw's make. This means that djgpp's make is brain-dead, broken, and
evil, but the problem can be worked around with the attached patch.
Hopefully it should work with all combinations of shells and make
programs...

Sven



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