source: Sophya/trunk/SophyaExt/MinuitAdapt/smakefile@ 2760

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

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

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