Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use a makefile for mingw on win32

Tags:

c

mingw32

i seem to have forgotten what is typed on the command line when using a makefile for a c program on a win32 machine. what i remember is that i should type something like

mingw32 -make

. but that is not working atm. ive done all the necessary stuff like setting environment mingw variables. any help on the command?

like image 998
user571099 Avatar asked Mar 07 '11 01:03

user571099


1 Answers

A lot depends on the details of your installation, but I suspect the problem is the space between mingw32 and -make.

You want to use the mingw32-make command, not the mingw32 command with a -make argument.

like image 194
srgerg Avatar answered Sep 28 '22 17:09

srgerg