After doing a light search on the Lazarus site I've come to the conclusion that this question has been asked some times but I haven't found an answer, so I'll ask my SO peers.
Is there a a way to create a Makefile to replicate the action of the Lazarus IDE when it compiles a project.
If so I really don't mind if it's makefile.fpc or just plain makefile, I just want some pointers on how to get to it.
BTW, I've tried the option to enable the Makefile on the Lazarus options. Doesn't work.