Peter Balogh wrote:
> OS: Mac OS X
>
>
> Compiler:I'm using devkitPro's Mac OS X version, and I've stolen an
all-purpose Makefile from the linux examples on sourceforge.
>
They're there for stealing :)
> The beauty about that Makefile is that (I believe) it scans your source
directory for files with a ".c" suffix and compiles those with GCC, and scans
for ".cpp" and compiles them with "G++". If I'm talking out of a dark and
toothless place here, please correct me.
>
Indeed it does.
> But I would certainly love to get my Windows PC compiling with such a file. I
can't get MinSys to compile using make (can't find the directories or
files--even with the environment variables set to presumably good values), and
the DOS batch file I have doesn't scan for all .c and then all .cpp files.
>
1. check there are no spaces in the paths - both your project folder and
the folder where devkitPro is installed.
2. check you set the environment variables as unix style i.e.
DEVKITARM=/c/devkitPro/devkitARM *not* c:\devkitPro\devkitARM
The devkitPro windows installer does a good job of setting everything up
as it should be.
http://www.devkitpro.org/setup.shtml