adding note to readme to build lua separately

This commit is contained in:
Paul Molloy 2017-07-05 18:07:07 -05:00
parent d713dcc6c8
commit f4fe81da96
1 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,9 @@ sudo apt-get install libusb-1.0-0-dev
make:
gcc -I include inlretro.c -o inlretro -lusb-1.0
or just run make unix from host folder.
As noted in windows instructions below, lua must be built first
-cd host/source/lua, make o a, then make from host/source
run:
./inlretro
@ -83,6 +86,15 @@ So that might help if you have similar issues...
Now host app can be built from windows command prompt command make when in host directory
Currently setup to compile lua separate from host app. Need to get better at writing makefiles..
But whatever it works and saves ~12sec of compile time with current setup.
-go to host/source/lua
-make o a
-go back to host
-make
This way lua is compiled separately using it's provided make file.
make clean still deletes lua object files, so this process must be reperformed if cleaned.
FIRMWARE:
Download and Install WinAVR
http://www.webring.org/l/rd?ring=avr;id=59;url=http%3A%2F%2Fwinavr%2Esourceforge%2Enet%2Findex%2Ehtml