mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-25 16:23:41 -05:00
README: Explaining how to compile examples with Docker
This commit is contained in:
parent
a9359ade1e
commit
9447cdfff3
12
README.md
12
README.md
|
|
@ -56,6 +56,18 @@ All the projects understand these Makefile actions:
|
|||
make [ clean | build | start | rebuild | restart ]
|
||||
```
|
||||
|
||||
Alternatively, you can compile the examples using Docker:
|
||||
|
||||
```bash
|
||||
cd examples/LinkCable_basic
|
||||
|
||||
docker run -it \
|
||||
--user "$(id -u):$(id -g)" \
|
||||
-v "$(pwd)/../..":/opt/gba \
|
||||
devkitpro/devkitarm:20241104 \
|
||||
bash -c "cd /opt/gba/examples/$(basename $PWD) && make rebuild"
|
||||
```
|
||||
|
||||
### C bindings
|
||||
|
||||
- To use the libraries in a C project, include the files from the [lib/c_bindings/](lib/c_bindings/) directory.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user