![]() | ![]() ![]() |
| Home · Downloads · Your Account · Submit News |
|
Documentation Homepage HAMLib reference Back to HAM Homepage |
|
Then all you have to do is compile your program like you did on the sample. Type make vba and, given your main.c had no errors, it should display right in the emulator. For more options how you can make your projects, see Standard Makefile Targets .
# # Set a list of files you want to compile # OFILES += main.o
Now, for example, if the file you want to include in your project is called cool.c, change the line to look like this:
OFILES += main.o cool.o
Save your makefile, and recompile the sources. You should now have included your new file in the GBA binary, if there are no errors.