source: Sophya/trunk/SophyaLib/SysTools/smakefile@ 2753

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

gestion CXXCOMPILE-LIB-PROG cmv 20/05/05

File size: 2.7 KB
RevLine 
[2743]1include $(SOPHYABASE)/include/sophyamake.inc
2
3all: $(SOPHYALIBP)libSysTools.a
4
5clean:
6 rm -f $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)zthread.o $(SOPHYAOBJP)timing.o
7 rm -f $(SOPHYALIBP)libSysTools.a
8
9$(SOPHYALIBP)libSysTools.a : $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)timing.o $(SOPHYAOBJP)zthread.o
10 $(AR) $(ARFLAGS) $@ $?
11
[2751]12$(SOPHYAOBJP)cexpre.o: cexpre.cc \
13 $(SOPHYAINCP)sopnamsp.h cexpre.h \
14 $(SOPHYAINCP)machdefs.h \
[2743]15 $(SOPHYAINCP)pexceptions.h \
16 $(SOPHYAINCP)srandgen.h
[2751]17 $(CXXCOMPILELIB) -o $@ $<
[2743]18
19$(SOPHYAOBJP)commander.o: commander.cc \
[2751]20 $(SOPHYAINCP)sopnamsp.h \
21 commander.h \
[2743]22 $(SOPHYAINCP)machdefs.h pdlmgr.h \
23 $(SOPHYAINCP)dvlist.h \
24 $(SOPHYAINCP)objfio.h \
25 $(SOPHYAINCP)anydataobj.h \
26 $(SOPHYAINCP)ppersist.h \
27 $(SOPHYAINCP)pexceptions.h \
28 $(SOPHYAINCP)gnumd5.h \
29 $(SOPHYAINCP)ppfbinstream.h \
30 $(SOPHYAINCP)rawstream.h \
31 $(SOPHYAINCP)ppfnametag.h \
32 $(SOPHYAINCP)mutyv.h ctimer.h \
33 $(SOPHYAINCP)strutil.h \
[2751]34 $(SOPHYAINCP)strutilxx.h \
35 cexpre.h rpneval.h \
36 $(SOPHYAINCP)srandgen.h \
[2743]37 zthread.h
[2751]38 $(CXXCOMPILELIB) -o $@ $<
[2743]39
[2751]40$(SOPHYAOBJP)ctimer.o: ctimer.cc \
41 $(SOPHYAINCP)sopnamsp.h \
[2743]42 $(SOPHYAINCP)machdefs.h ctimer.h
[2751]43 $(CXXCOMPILELIB) -o $@ $<
[2743]44
45$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc \
[2751]46 $(SOPHYAINCP)sopnamsp.h \
47 cxxcmplnk.h \
[2743]48 $(SOPHYAINCP)machdefs.h
[2751]49 $(CXXCOMPILELIB) -o $@ $<
[2743]50
[2751]51$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc \
52 $(SOPHYAINCP)machdefs.h \
[2743]53 $(SOPHYAINCP)sopnamsp.h pdlmgr.h
[2751]54 $(CXXCOMPILELIB) -o $@ $<
[2743]55
56$(SOPHYAOBJP)periodic.o: periodic.cc \
57 $(SOPHYAINCP)sopnamsp.h \
[2751]58 $(SOPHYAINCP)machdefs.h \
59 periodic.h
60 $(CXXCOMPILELIB) -o $@ $<
[2743]61
62$(SOPHYAOBJP)psighand.o: psighand.cc \
[2751]63 $(SOPHYAINCP)sopnamsp.h \
64 psighand.h \
[2743]65 $(SOPHYAINCP)machdefs.h \
66 $(SOPHYAINCP)pexceptions.h
[2751]67 $(CXXCOMPILELIB) -o $@ $<
[2743]68
69$(SOPHYAOBJP)resusage.o: resusage.cc \
[2751]70 $(SOPHYAINCP)sopnamsp.h \
71 resusage.h \
[2743]72 $(SOPHYAINCP)machdefs.h
[2751]73 $(CXXCOMPILELIB) -o $@ $<
[2743]74
75$(SOPHYAOBJP)rpneval.o: rpneval.cc \
[2751]76 $(SOPHYAINCP)sopnamsp.h \
77 rpneval.h \
[2743]78 $(SOPHYAINCP)machdefs.h \
79 $(SOPHYAINCP)pexceptions.h \
80 $(SOPHYAINCP)strutilxx.h \
81 $(SOPHYAINCP)srandgen.h
[2751]82 $(CXXCOMPILELIB) -o $@ $<
[2743]83
84$(SOPHYAOBJP)zthread.o: zthread.cc \
[2751]85 $(SOPHYAINCP)sopnamsp.h \
86 zthread.h \
[2743]87 $(SOPHYAINCP)machdefs.h \
88 $(SOPHYAINCP)pexceptions.h
[2751]89 $(CXXCOMPILELIB) -o $@ $<
[2743]90
91$(SOPHYAOBJP)timing.o: timing.c timing.h
92 $(CCOMPILE) -o $@ $<
93
Note: See TracBrowser for help on using the repository browser.