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

Last change on this file since 3889 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
Line 
1include ../BuildMgr/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) $@ $?
11 touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
12
13$(SOPHYAOBJP)datacards.o: datacards.cc \
14 $(SOPHYAINCP)sopnamsp.h \
15 $(SOPHYAINCP)machdefs.h \
16 datacards.h \
17 $(SOPHYAINCP)pexceptions.h \
18 $(SOPHYAINCP)machdefs.h
19 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
20
21$(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
22 $(SOPHYAINCP)sopnamsp.h \
23 $(SOPHYAINCP)machdefs.h \
24 strutilxx.h
25 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
26
27$(SOPHYAOBJP)utils.o: utils.cc \
28 $(SOPHYAINCP)sopnamsp.h \
29 $(SOPHYAINCP)machdefs.h \
30 utils.h \
31 $(SOPHYAINCP)pexceptions.h \
32 $(SOPHYAINCP)machdefs.h
33 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ utils.cc
34
35$(SOPHYAOBJP)strutil.o: strutil.c strutil.h
36 $(CCOMPILE) -o $@ strutil.c
37
Note: See TracBrowser for help on using the repository browser.