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

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

suite nouvelle structure cmv 20/05/05

File size: 685 bytes
Line 
1include $(SOPHYABASE)/include/sophyamake.inc
2
3CPPFLAGS := $(CPPFLAGS) -Df2cFortran
4CXXFLAGS := $(CXXFLAGS) -Df2cFortran
5
6all: $(SOPHYALIBP)libMinuitAdapt.a
7
8clean:
9 rm -f $(SOPHYAOBJP)minuitadapt.o $(SOPHYAOBJP)minuitadaptF.o
10 rm -f $(SOPHYALIBP)libMinuitAdapt.a
11 rm -f testminuit testminuit.o
12
13test: testminuit
14
15
16$(SOPHYALIBP)libMinuitAdapt.a : $(SOPHYAOBJP)minuitadapt.o $(SOPHYAOBJP)minuitadaptF.o
17 $(AR) $(ARFLAGS) $@ $?
18
19$(SOPHYAOBJP)minuitadapt.o: minuitadapt.cc minuitadapt.h minuitprot.h
20 $(CXXCOMPILE) -o $@ $<
21
22$(SOPHYAOBJP)minuitadaptF.o: minuitadaptF.f
23 $(FCCOMPILE) -o $@ $<
24
25testminuit: testminuit.o
26 $(CXXLINK) $^ -o $@ $(SOPHYAEXTSLBLIST)
27testminuit.o: testminuit.cc
Note: See TracBrowser for help on using the repository browser.