windows - GnuWin32 make returns strange error on square braket -


i trying compile project on windows 7 gnuwin32 make. running make folder makefile sits, receive following error:

[ ! -d libmf ] && mkdir -p libmf "[" not recognised  internal or external command, operable program or batch file 

i guess reason cmd interpreter not parse square bracket, notation described in manuals, , makefile comes vendor , supposed correct. tried 'make' different targets, text in erroneous line changes (target defines macro there), error same. place in makefile causes looks this:

libmf$(libsuffix):                 [ ! -d $@ ] && mkdir -p $@ 

found solution. should have used cygwin instead of gnuwin32, gnuwin32 not contain required commands. curious detail: cygwin has '[.exe' program emulate bash bracket parsing.


Comments