Rules:
1. -l<name> Make will find /usr/lib/name.so file, if it's not exist, it will find /usr/lib/name.a file.
2. "make --just-print " will just print all run command, but it’s not actually execute.
3. explicit rule; pattern rule; implocit rule;
4. .PHONY:clean #clean will be set a phony target.
clean:
rm -f *.o *.a
5. prog: size prog.o /size is empty target
$(CC) ****
size: prog.o
command*
6. autu value:
6. vpath
vpath %.l %.c src #make will search .c file or .l file in src direct
vpath %.h include # make will search .c file in include direct
7. “make --print--data-base” will print all default rules and variable
8. “%” = “*” in makefile