Makefájlokkal szerintem tanulási fázisban nem érdemes kínlódni. Értelmesebb dolog inkább egy normális Linux IDE használata