Makefile target dependency
Makefile
.....
all: T1 T2
T1:
@echo "<===" $@
T2:
@echo "<===" $@
.....
make
執行順序為 T1 -> T2
=====================
Makefile
.....
all: T2 T1
T1:
@echo "<===" $@
T2:
@echo "<===" $@
.....
make
執行順序為 T2 -> T1