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

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

suite nouvelle structure cmv 20/05/05

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