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