Menu

Makefile calling rm in windows

2004-12-21
2012-09-26
  • Peter Hultqvist

    Peter Hultqvist - 2004-12-21

    When I try to run clean from dev-c++ i get the following error:

    Compiler: GCC
    Building Makefile: "D:\Program\MP3Box\Makefile.win"
    Executing make clean
    rm -f Audio.o ...

    process_begin: CreateProcess((null), rm -f Audio.o... , ...) failed.
    make (e=2): Det gr inte att hitta filen(Can't find file).

    mingw32-make.exe: *** [clean] Error 2

    Execution terminated

    It seems that Makefile.win tries to run rm which doesn't exist on the windows platform.
    How can I change which delete command to use?

     
    • Peter Hultqvist

      Peter Hultqvist - 2004-12-21

      I have got it to work now.

      I was using mingw32-make.exe before which didn't work with rm.

      When I installed the dev-c++ version with mingw included it used make.exe which worked fine with rm.

      I still have no idea why?

       

Log in to post a comment.

MongoDB Logo MongoDB