source: Sophya/trunk/SophyaExt/MinuitAdapt/Makefile@ 2761

Last change on this file since 2761 was 2751, checked in by cmv, 21 years ago

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

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