Legacy patches to compile MCFM-8.3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

63 lines
1018 B

VPATH = $(PWD)/obj
INCPATH1 = $(PWD)/../Include/
INCPATH2 = $(PWD)/../../Include/
OUTPUT_OPTION = -o $(PWD)/obj/$@
ifeq ($(origin FC),environment)
$(info Inheriting FC from environment: $(FC))
else
FC = gfortran
endif
FFLAGS = -O2 -fno-f2c -fopenmp -g -I$(INCPATH1) -I$(INCPATH2) -Iobj -Jobj
LIBRARY = libsmallG.a
OBJS = \
determinant.o \
Array2dim.o \
Array3dim.o \
Carraysetup.o \
Darraysetup.o \
Cfill_recur.o \
Dfill_recur.o \
runC_0.o \
runC_00.o \
runC_0000.o \
runC_000000.o \
runC_0000i.o \
runC_0000ii.o \
runC_00i.o \
runC_00ii.o \
runC_00iii.o \
runC_00iiii.o \
runC_i.o \
runC_ii.o \
runC_iii.o \
runC_iiii.o \
runC_iiiii.o \
run_0.o \
run_00.o \
run_0000.o \
run_000000.o \
run_0000i.o \
run_0000ii.o \
run_00i.o \
run_00ii.o \
run_00iii.o \
run_00iiii.o \
run_i.o \
run_ii.o \
run_iii.o \
run_iiii.o \
run_iiiii.o
$(LIBRARY): $(OBJS)
ar cru $(LIBRARY) $(patsubst %,obj/%,$(OBJS))
ranlib $(LIBRARY)
mv $(LIBRARY) ..
all: $(LIBRARY)
clean:
- rm -f obj/*.o ../$(LIBRARY)