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