source: Sophya/trunk/SophyaLib/SUtils/Makefile@ 3950

Last change on this file since 3950 was 3879, checked in by cmv, 15 years ago

generation Makefile et smakefile en prevision du tag, cmv 10/09/2010

File size: 1.1 KB
RevLine 
[2743]1include ../BuildMgr/sophyamake.inc
[1602]2
[2743]3all: $(SOPHYALIBP)libSUtils.a
4
[1602]5clean:
[2743]6 rm -f $(SOPHYAOBJP)datacards.o $(SOPHYAOBJP)strutilxx.o $(SOPHYAOBJP)utils.o $(SOPHYAOBJP)strutil.o
7 rm -f $(SOPHYALIBP)libSUtils.a
[1602]8
[2743]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
[3879]13$(SOPHYAOBJP)datacards.o: datacards.cc \
14 $(SOPHYAINCP)sopnamsp.h \
15 $(SOPHYAINCP)machdefs.h \
16 datacards.h \
[3007]17 $(SOPHYAINCP)pexceptions.h \
18 $(SOPHYAINCP)machdefs.h
[2765]19 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
[2743]20
[3879]21$(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
22 $(SOPHYAINCP)sopnamsp.h \
23 $(SOPHYAINCP)machdefs.h \
24 strutilxx.h
[2765]25 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
[2743]26
[3879]27$(SOPHYAOBJP)utils.o: utils.cc \
28 $(SOPHYAINCP)sopnamsp.h \
29 $(SOPHYAINCP)machdefs.h \
30 utils.h \
[3007]31 $(SOPHYAINCP)pexceptions.h \
32 $(SOPHYAINCP)machdefs.h
[2765]33 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ utils.cc
[2743]34
35$(SOPHYAOBJP)strutil.o: strutil.c strutil.h
[2765]36 $(CCOMPILE) -o $@ strutil.c
[2743]37
Note: See TracBrowser for help on using the repository browser.