SOLVED: Getting started with openspin
prof_braino
Posts: 4,313
So I downloaded the git repository, and have the openspin directory. Now what?
The readme.md says to use openspin.exe if we are on windows. but I'm on linux.
How do I get the Makefile to run? I made it executable with
chmod +x Makefile
but
./Makefile
gives error about ./Makefile: line 5: syntax error near unexpected token `$(CROSS),win32'
What do I do to get started?
Thanks!
The readme.md says to use openspin.exe if we are on windows. but I'm on linux.
How do I get the Makefile to run? I made it executable with
chmod +x Makefile
but
./Makefile
gives error about ./Makefile: line 5: syntax error near unexpected token `$(CROSS),win32'
What do I do to get started?
Thanks!
Comments
To answer your question more directly, Makefiles aren't run via the shell - it's a different language. Instead of "./Makefile" try simply "make" which has an implied argument of "-f ./Makefile"
Aha! Silly me, I never realized make is a program. I thought is was a verb, and folks we talking about processing the makefile with whatever compiler, and I would have install something and/or do to some gcc command line with a zillion parameters. Good thing I asked!
This worked, and got me rolling in 2 seconds. Thanks!