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

Last change on this file since 2764 was 2763, checked in by cmv, 20 years ago

suite modifs makefile/configure cmv 24/05/05

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