Does the PLAT_GTK / PLAT_WIN stuff work in this case? I never used the
directory files or command.go but maybe try something like
if PLAT_WIN
command.go.*.d=. . ./build.bat
if PLAT_GTK # or maybe PLAT_UNIX
command.go.*.d=. . ./build.sh
I think the indentation is required.