Is there a generic makefile i can use to build a simple c++ project? on windows? i modified a working wii makefile to win32 but could not build properly (difference in make? the make app and the makefile seem to be found). I did a little hack and made a copy of mingw32-make as make.
-edit- export PATH seem to be the reason i got my old error (make: make Command not found) now using my new makefile (single file instead of 2) i get
"make" make[1]: Nothing to be done for `/c/nightly/test/test.exe .
this is my current makefile http://pastie.org/318548
我正在使用MinGW。我已经从该网站安装了一个,还有一个带有Codeblocks的安装程序。 make 二进制文件是一个复制的 mingw32-make.exe,其中我去掉了前缀。运行 make -h 命令,我得到的输出是“这个程序是为 i686-pc-msys 构建的”,因此看起来是正确的。