[Ilugc] .a-tip-a-day. (make -the build tool few tips part II)

2009-10-28 Thread Girish Venkatachalam
Today is the last part. make(1) also has its own for loops and if conditions. There is also a BSD make and a GNU make. GNU make is called as gmake(1) since both are incompatible in certain ways. There is no recursive make in BSD. The syntax also is different. By the way make is not used just fo

[Ilugc] .a-tip-a-day. (make -the build tool few tips part II)

2009-10-27 Thread Girish Venkatachalam
If you type make $ make the first rule is executed. If you type $ make boorule, It executes the statements given after boorule: boo.c foo.c i.h ba.h echo "I got called" So you will get, $ make boorule echo "I got called" I got called Why? It is the habit of make to print what command it i