I feel retarded asking this, but I've never really written code under windows before, and I'm a little confused.
If I run this command:
Code:
gcc -o flasher flasher.c -IC:\cygwin\usr\include\mingw
I get a linking error. (I'm a little confused as to why that happens since I have all of the directories in question in my path, but that's a separate issue.)
However, if I run that exact same command inside of a makefile:
Code:
all:
gcc -o flasher flasher.c -IC:\cygwin\usr\include\mingw
it tells me that it can't find conio.h and doesn't get to the linking at all.
Can anyone point me to how I might resolve this?
Thanks.