Line | |
---|
1 | include ../BuildMgr/sophyamake.inc
|
---|
2 |
|
---|
3 | all: $(SOPHYALIBP)libSUtils.a
|
---|
4 |
|
---|
5 | clean:
|
---|
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 $(SOPHYAINCP)sopnamsp.h \
|
---|
14 | $(SOPHYAINCP)machdefs.h datacards.h \
|
---|
15 | $(SOPHYAINCP)pexceptions.h \
|
---|
16 | $(SOPHYAINCP)machdefs.h
|
---|
17 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datacards.cc
|
---|
18 |
|
---|
19 | $(SOPHYAOBJP)strutilxx.o: strutilxx.cc $(SOPHYAINCP)sopnamsp.h \
|
---|
20 | $(SOPHYAINCP)machdefs.h strutilxx.h
|
---|
21 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ strutilxx.cc
|
---|
22 |
|
---|
23 | $(SOPHYAOBJP)utils.o: utils.cc $(SOPHYAINCP)sopnamsp.h \
|
---|
24 | $(SOPHYAINCP)machdefs.h utils.h \
|
---|
25 | $(SOPHYAINCP)pexceptions.h \
|
---|
26 | $(SOPHYAINCP)machdefs.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.