|
Last change
on this file since 2761 was 2751, checked in by cmv, 20 years ago |
|
gestion CXXCOMPILE-LIB-PROG cmv 20/05/05
|
|
File size:
904 bytes
|
| Line | |
|---|
| 1 | include $(SOPHYABASE)/include/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 |
|
|---|
| 12 | $(SOPHYAOBJP)datacards.o: datacards.cc \
|
|---|
| 13 | $(SOPHYAINCP)sopnamsp.h \
|
|---|
| 14 | $(SOPHYAINCP)machdefs.h \
|
|---|
| 15 | datacards.h \
|
|---|
| 16 | $(SOPHYAINCP)pexceptions.h
|
|---|
| 17 | $(CXXCOMPILELIB) -o $@ $<
|
|---|
| 18 |
|
|---|
| 19 | $(SOPHYAOBJP)strutilxx.o: strutilxx.cc \
|
|---|
| 20 | $(SOPHYAINCP)sopnamsp.h \
|
|---|
| 21 | $(SOPHYAINCP)machdefs.h \
|
|---|
| 22 | strutilxx.h
|
|---|
| 23 | $(CXXCOMPILELIB) -o $@ $<
|
|---|
| 24 |
|
|---|
| 25 | $(SOPHYAOBJP)utils.o: utils.cc \
|
|---|
| 26 | $(SOPHYAINCP)sopnamsp.h \
|
|---|
| 27 | $(SOPHYAINCP)machdefs.h utils.h \
|
|---|
| 28 | $(SOPHYAINCP)pexceptions.h
|
|---|
| 29 | $(CXXCOMPILELIB) -o $@ $<
|
|---|
| 30 |
|
|---|
| 31 | $(SOPHYAOBJP)strutil.o: strutil.c strutil.h
|
|---|
| 32 | $(CCOMPILE) -o $@ $<
|
|---|
| 33 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.