Make felt pretty impenetrable to me, too, as every example makefile I saw was usually a minimum of 20-30 lines.
The tutorial I linked you to is quite heavy. I would read up to chapter 3.1 (skip 2.7) -- that covers the essentials.
Anyway, I must warn you that PMake ("BSD Make") is not GNU Make. The latter can be found on pretty much every Linux system, and the most noticeable difference between them is the variable names. I find PMake's variables to be named much nicer ($(.TARGET) vs $@ or $(.IMPSRC) vs $<)
Anyway, you can manage without touching those variables, and I recommended that tutorial because it does a good job in explaining the basics.
|