| 
                Last change
                  on this file since 96 was
                  88,
                  checked in by rosiere, 17 years ago
           | 
        
        
          | 
               
Almost complete design 
with Test and test platform 
 
           | 
        
        
          
            
              - 
                  Property svn:keywords set to
                  
Id
               
             
           | 
        
        | 
            File size:
            1.3 KB
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #  | 
|---|
| 2 | # $Id: Makefile 88 2008-12-10 18:31:39Z rosiere $ | 
|---|
| 3 | #  | 
|---|
| 4 | # [ Description ] | 
|---|
| 5 | #  | 
|---|
| 6 | # Makefile | 
|---|
| 7 | #  | 
|---|
| 8 |  | 
|---|
| 9 | ifeq ($(origin MORPHEO_TOPLEVEL), undefined) | 
|---|
| 10 |         $(error "variable MORPHEO_TOPLEVEL is undefined") | 
|---|
| 11 | else | 
|---|
| 12 |         include $(MORPHEO_TOPLEVEL)/Makefile.tools | 
|---|
| 13 | endif | 
|---|
| 14 |  | 
|---|
| 15 | #-----[ Variables ]--------------------------------------------------------------- | 
|---|
| 16 |  | 
|---|
| 17 | SOFT                            =       Min                                                     \ | 
|---|
| 18 |                                         Test/* | 
|---|
| 19 |  | 
|---|
| 20 | #-----[ Rules ]------------------------------------------------------------------- | 
|---|
| 21 |  | 
|---|
| 22 | all                             : | 
|---|
| 23 |                                 @\ | 
|---|
| 24 |                                 for i in $(SOFT); do                                            \ | 
|---|
| 25 |                                         $(ECHO) "-------------------| $$i";                     \ | 
|---|
| 26 |                                         $(MAKE) --directory=$$i --makefile=Makefile;            \ | 
|---|
| 27 |                                 done; | 
|---|
| 28 |  | 
|---|
| 29 | clean                           : | 
|---|
| 30 |                                 @\ | 
|---|
| 31 |                                 $(RM) *~;                                                       \ | 
|---|
| 32 |                                 for i in $(SOFT); do                                            \ | 
|---|
| 33 |                                         $(ECHO) "-------------------| $$i";                     \ | 
|---|
| 34 |                                         $(MAKE) --directory=$$i --makefile=Makefile clean;      \ | 
|---|
| 35 |                                 done; | 
|---|
| 36 |  | 
|---|
| 37 | clean_all                       : | 
|---|
| 38 |                                 @\ | 
|---|
| 39 |                                 for i in $(SOFT); do                                            \ | 
|---|
| 40 |                                         $(ECHO) "-------------------| $$i";                     \ | 
|---|
| 41 |                                         $(MAKE) --directory=$$i --makefile=Makefile clean_all;  \ | 
|---|
| 42 |                                 done; | 
|---|
| 43 |  | 
|---|
| 44 | #-----[ Help ]-------------------------------------------------------------------- | 
|---|
| 45 | help                            : | 
|---|
| 46 |                                 @\ | 
|---|
| 47 |                                 $(ECHO) "";\ | 
|---|
| 48 |                                 $(ECHO) "List of directive   : ";\ | 
|---|
| 49 |                                 $(ECHO) " * all              : Compile all softwares";\ | 
|---|
| 50 |                                 $(ECHO) " * clean            : Erase all files generates";\ | 
|---|
| 51 |                                 $(ECHO) " * clean_all        : Erase all files generates";\ | 
|---|
| 52 |                                 $(ECHO) ""; | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.