makefile - Why `make` executes only the dependency? -
i have following makefile:
compile: echo run: compile echo b all: run make all has expected effect:
$ make echo a echo b b but invoking make executes compile target:
$ make echo a why happening?
by default, make runs first target, in case compile: http://www.gnu.org/software/make/manual/html_node/how-make-works.html#how-make-works
if want all default target, list first.
Comments
Post a Comment