source: Sophya/trunk/SophyaLib/SUtils/smakefile@ 3232

Last change on this file since 3232 was 3007, checked in by cmv, 19 years ago

nettoyage et mise a niveau makefile pour tag V2 cmv 5/7/2006

File size: 1.0 KB
RevLine 
[2743]1include $(SOPHYABASE)/include/sophyamake.inc
2
3all: $(SOPHYALIBP)libSUtils.a
4
5clean:
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) $@ $?
[2763]11 touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
[2743]12
13$(SOPHYAOBJP)datacards.o: datacards.cc \
14 $(SOPHYAINCP)sopnamsp.h \
[2765]15 $(SOPHYAINCP)machdefs.h datacards.h \
[3007]16 $(SOPHYAINCP)pexceptions.h \
17 $(SOPHYAINCP)machdefs.h
[2765]18 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
[2743]19
20$(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
21 $(SOPHYAINCP)sopnamsp.h \
[2765]22 $(SOPHYAINCP)machdefs.h strutilxx.h
23 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
[2743]24
[2765]25$(SOPHYAOBJP)utils.o: utils.cc $(SOPHYAINCP)sopnamsp.h \
[2743]26 $(SOPHYAINCP)machdefs.h utils.h \
[3007]27 $(SOPHYAINCP)pexceptions.h \
28 $(SOPHYAINCP)machdefs.h
[2765]29 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ utils.cc
[2743]30
31$(SOPHYAOBJP)strutil.o: strutil.c strutil.h
[2765]32 $(CCOMPILE) -o $@ strutil.c
[2743]33
Note: See TracBrowser for help on using the repository browser.