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

Last change on this file since 2912 was 2765, checked in by ansari, 20 years ago

MAJ Makefile et smakefile suite gestion CXXTEMPFLG ds BuildMgr - cmv+Reza 25/5/2005

File size: 1016 bytes
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 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
18
19$(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
20 $(SOPHYAINCP)sopnamsp.h \
21 $(SOPHYAINCP)machdefs.h strutilxx.h
22 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
23
24$(SOPHYAOBJP)utils.o: utils.cc $(SOPHYAINCP)sopnamsp.h \
25 $(SOPHYAINCP)machdefs.h utils.h \
26 $(SOPHYAINCP)pexceptions.h
27 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ utils.cc
28
29$(SOPHYAOBJP)strutil.o: strutil.c strutil.h
30 $(CCOMPILE) -o $@ strutil.c
31
Note: See TracBrowser for help on using the repository browser.