I based the code for Projectile on the generated code from GlassBR, and I'm having an issue with the Makefile. I think it might be because I'm on Windows, but running make run <inputFile> returns an IndexError: list index out of range because the input file isn't being passed in as an argument:
$ make run inputFiles/hitInput.txt
python Control.py
instead of
$ make run inputFiles/hitInput.txt
python Control.py inputFiles/hitInput.txt
This same error occurs when make running GlassBR. Is the Makefile broken or am I doing something wrong? (And are you guys the right people to ask? 馃槀)
You can pass the input file in to the make run command like so:
make run RUNARGS=hitInput.txt
That's how I've been running the Makefiles, at least.
Works for me - thanks!
Thanks for brining this up @samm82 and for the solution @bmaclach. I learned something. 馃槃
Most helpful comment
You can pass the input file in to the
make runcommand like so:make run RUNARGS=hitInput.txtThat's how I've been running the Makefiles, at least.