Compiling C Source with Makefile in Windows
Posted
by humoeba
on Stack Overflow
See other posts from Stack Overflow
or by humoeba
Published on 2010-06-17T06:35:14Z
Indexed on
2010/06/17
7:03 UTC
Read the original article
Hit count: 209
I'm trying to compile a downloaded program in Windows. The program is usually run in Linux, but is programmed to also run in Windows (the code has #if defined(_WIN32)'s in it, and claims to work with borland free tools). When I try to use make from the command line, it tells me "Incorrect command line argument: -C". In the makefile, there are many lines that say "make -C" followed by a directory name. Does this syntax not work in Windows? What is a correct way to do this? Is there any way to compile this for native use in Windows with this makefile?
© Stack Overflow or respective owner