build multiple targets in a makefile without all target -


i have list of targets calling msgfmt specific language. call them all, not want create huge all target. there other way tell make multiple targets should build?

the all target not special in way. convention first, , default target. other phony target can take its' place.

just create target, declare .phony, let msgfmt targets prerequisites of target, , make other first one.

if have list of targets in variable, can use variable prerequisite list.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -