makefile - How does "make" app know default target to build if no target is specified? -
most linux apps compiled with:
make make install clean
as understood it, make takes names of build targets arguments. install
target copies files , after clean
target removes temporary files.
but target make
build if no arguments specified (e.g. first command in example)?
by default, begins processing first target not begin '.' aka the default goal; that, may have process other targets - specifically, ones first target depends on. gnu make manual covers stuff, , surprisingly easy , informative read.
Comments
Post a Comment