|
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:
737 bytes
|
| Rev | Line | |
|---|
| [2743] | 1 | include $(SOPHYABASE)/include/sophyamake.inc
|
|---|
| 2 |
|
|---|
| 3 | CPPFLAGS := $(CPPFLAGS) -Df2cFortran
|
|---|
| 4 | CXXFLAGS := $(CXXFLAGS) -Df2cFortran
|
|---|
| 5 |
|
|---|
| 6 | all: $(SOPHYALIBP)libMinuitAdapt.a
|
|---|
| 7 |
|
|---|
| [2751] | 8 | clean: cleantest
|
|---|
| [2743] | 9 | rm -f $(SOPHYAOBJP)minuitadapt.o $(SOPHYAOBJP)minuitadaptF.o
|
|---|
| 10 | rm -f $(SOPHYALIBP)libMinuitAdapt.a
|
|---|
| [2751] | 11 |
|
|---|
| 12 | cleantest:
|
|---|
| [2743] | 13 | rm -f testminuit testminuit.o
|
|---|
| 14 |
|
|---|
| 15 | test: testminuit
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | $(SOPHYALIBP)libMinuitAdapt.a : $(SOPHYAOBJP)minuitadapt.o $(SOPHYAOBJP)minuitadaptF.o
|
|---|
| 19 | $(AR) $(ARFLAGS) $@ $?
|
|---|
| 20 |
|
|---|
| 21 | $(SOPHYAOBJP)minuitadapt.o: minuitadapt.cc minuitadapt.h minuitprot.h
|
|---|
| [2751] | 22 | $(CXXCOMPILELIB) -o $@ $<
|
|---|
| [2743] | 23 |
|
|---|
| 24 | $(SOPHYAOBJP)minuitadaptF.o: minuitadaptF.f
|
|---|
| 25 | $(FCCOMPILE) -o $@ $<
|
|---|
| [2751] | 26 |
|
|---|
| [2743] | 27 | testminuit: testminuit.o
|
|---|
| 28 | $(CXXLINK) $^ -o $@ $(SOPHYAEXTSLBLIST)
|
|---|
| 29 | testminuit.o: testminuit.cc
|
|---|
| [2751] | 30 | $(CXXCOMPILEPROG) -o $@ $<
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.