When a directory itself is given as a prerequisite, how does make intrepret
it ..
in the context of a recursive make, this is the example I see in a book ..
It is simple phony targets that are doing the trick or make has special
way to handle directories ..
lib_codec := lib/codec
lib_db := lib/db
lib_ui := lib/ui
libraries := $(lib_ui) $(lib_db) $(lib_codec)
player := app/player
.PHONY: all $(player) $(libraries)
all: $(player)
$(player) $(libraries):
$(MAKE) --directory=$@
$(player): $(libraries)
$(lib_ui): $(lib_db) $(lib_codec)
_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment
http://content.msn.co.in/Entertainment/Default
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make