| 
            Last change
 on this file since 2761 was             2751, checked in by cmv, 20 years ago           | 
        
        
          | 
             
gestion CXXCOMPILE-LIB-PROG    cmv 20/05/05 
 
           | 
        
        
          | 
            File size:
            904 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [2743] | 1 | include $(SOPHYABASE)/include/sophyamake.inc
 | 
|---|
 | 2 |  
 | 
|---|
 | 3 | all: $(SOPHYALIBP)libSUtils.a
 | 
|---|
 | 4 |  
 | 
|---|
 | 5 | clean:
 | 
|---|
 | 6 |          rm -f $(SOPHYAOBJP)datacards.o $(SOPHYAOBJP)strutilxx.o $(SOPHYAOBJP)utils.o $(SOPHYAOBJP)strutil.o
 | 
|---|
 | 7 |         rm -f $(SOPHYALIBP)libSUtils.a
 | 
|---|
 | 8 |  
 | 
|---|
 | 9 | $(SOPHYALIBP)libSUtils.a : $(SOPHYAOBJP)datacards.o $(SOPHYAOBJP)strutil.o $(SOPHYAOBJP)strutilxx.o $(SOPHYAOBJP)utils.o
 | 
|---|
 | 10 |         $(AR) $(ARFLAGS) $@ $? 
 | 
|---|
 | 11 |  
 | 
|---|
 | 12 | $(SOPHYAOBJP)datacards.o: datacards.cc \
 | 
|---|
 | 13 |   $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| [2751] | 14 |   $(SOPHYAINCP)machdefs.h \
 | 
|---|
 | 15 |   datacards.h \
 | 
|---|
| [2743] | 16 |   $(SOPHYAINCP)pexceptions.h
 | 
|---|
| [2751] | 17 |         $(CXXCOMPILELIB) -o $@ $<
 | 
|---|
| [2743] | 18 |  
 | 
|---|
 | 19 | $(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
 | 
|---|
 | 20 |   $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| [2751] | 21 |   $(SOPHYAINCP)machdefs.h \
 | 
|---|
 | 22 |   strutilxx.h
 | 
|---|
 | 23 |         $(CXXCOMPILELIB) -o $@ $<
 | 
|---|
| [2743] | 24 |  
 | 
|---|
| [2751] | 25 | $(SOPHYAOBJP)utils.o: utils.cc \
 | 
|---|
 | 26 |   $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| [2743] | 27 |   $(SOPHYAINCP)machdefs.h utils.h \
 | 
|---|
 | 28 |   $(SOPHYAINCP)pexceptions.h
 | 
|---|
| [2751] | 29 |         $(CXXCOMPILELIB) -o $@ $<
 | 
|---|
| [2743] | 30 |  
 | 
|---|
 | 31 | $(SOPHYAOBJP)strutil.o: strutil.c strutil.h
 | 
|---|
 | 32 |         $(CCOMPILE) -o $@ $<
 | 
|---|
 | 33 |  
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.