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

Last change on this file since 3405 was 3405, checked in by cmv, 18 years ago

makefile pour tag , cmv 23/11/2007

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
[3405]13$(SOPHYAOBJP)datacards.o: datacards.cc $(SOPHYAINCP)sopnamsp.h \
[2765]14 $(SOPHYAINCP)machdefs.h datacards.h \
[3007]15 $(SOPHYAINCP)pexceptions.h \
16 $(SOPHYAINCP)machdefs.h
[2765]17 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
[2743]18
[3405]19$(SOPHYAOBJP)strutilxx.o: strutilxx.cc $(SOPHYAINCP)sopnamsp.h \
[2765]20 $(SOPHYAINCP)machdefs.h strutilxx.h
21 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
[2743]22
[2765]23$(SOPHYAOBJP)utils.o: utils.cc $(SOPHYAINCP)sopnamsp.h \
[2743]24 $(SOPHYAINCP)machdefs.h utils.h \
[3007]25 $(SOPHYAINCP)pexceptions.h \
26 $(SOPHYAINCP)machdefs.h
[2765]27 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ utils.cc
[2743]28
29$(SOPHYAOBJP)strutil.o: strutil.c strutil.h
[2765]30 $(CCOMPILE) -o $@ strutil.c
[2743]31
Note: See TracBrowser for help on using the repository browser.