What is -lgba in the gba template Makefile?

Post Reply
0505gonzalez
Posts: 1
Joined: Mon Jan 09, 2017 3:49 am

What is -lgba in the gba template Makefile?

Post by 0505gonzalez » Mon Jan 09, 2017 4:00 am

Hello,

I wanted to add another library in addition to libgba, so I was trying to understand the Makefile for the gba examples. There is a line LIB := -lgba in the makefile. Can someone explain what "-lgba" is? Is it a flag specific to the arm gcc compiler? If so, can you guys point me to the documentation that explains what it does?

sverx
Posts: 94
Joined: Wed Aug 12, 2009 2:56 pm
Location: github.com/sverx
Contact:

Re: What is -lgba in the gba template Makefile?

Post by sverx » Mon Apr 16, 2018 10:21 am

it tells the linker to link libgba library to your program
-l<library>

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests