Little bit confused about how MinGW linking works...
I have a test folder and inside of the test folder, I have a exe file and have a lib folder which contains bunch of SFML lib files. Now, here's where I pissed off. I created a makefile that will compile my main.cpp file and I used -L to specify to look for the lib folder and used -l flags to tell which libs i'm using. Since I'm only using window features, I used -llibsfml-window. I compiled my main.cpp and got an error...I changed my -llibsfml-window to -lsfml-window which doesn't make sense because in my lib folder, there is no such file called sfml-window, but it worked, and I have no idea how this is working...maby because i'm newb and don't really understand how MinGW works...for me, more confusing thing is that even though I have no file called opengl32 in my lib folder, it compiles fine...am I just not understanding how MinGW works? how come MinGW compiles opengl32.lib even though I don't have opengl32.lib? thanks.