[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Makefile



Nils Åke Ljunggren wrote:

> #Makefile placed in /dir
> .PHONY: default sub clean et_al
>
> default:    sub
>     $(local_global_default_targets)

#For at være konsistent burde dette goal hede
default: sub $(local_global_default_targets)

#så $(local_global_default_targets) er dependency af default goal og
ikke
en rule
#(højst sandsynligt har I fanget den).

> clean:    sub
>     $(RM) $(local_global_default_targets)
>
> et_al:    sub
>     $(ad_lib)
>
> sub:
>     $(MAKE) -C A $(MAKECMDGOALS)
>     $(MAKE) -C B $(MAKECMDGOALS)
>     $(MAKE) -C D $(MAKECMDGOALS)
> #end EX
>
> Så overføres GOALS til makefilerne i de underliggende direktories



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *