[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how make interprets directory which are prerequisites
From: |
sharan basappa |
Subject: |
how make interprets directory which are prerequisites |
Date: |
Thu, 18 Jan 2007 09:35:28 +0000 |
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
- how make interprets directory which are prerequisites,
sharan basappa <=