Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux Makefile structure and documentation [closed]

Tags:

linux

makefile

I'm having difficulties understanding the structure of a Makefile. Can you point me to a good resource to look at?

like image 921
karatchov Avatar asked Jul 29 '09 20:07

karatchov


2 Answers

The best tutorial that I have found for makefiles so far has been this one. One of your other options is to learn autotools and let them produce your makefiles for you, though a little outdated this is the tutorial that I found best to learn from.

like image 178
Mike Lowen Avatar answered Oct 03 '22 06:10

Mike Lowen


You could also use this tutorial by example. It provides very easy examples that will work for simple projects.

like image 22
Freddy Avatar answered Oct 03 '22 07:10

Freddy