1
# ----------------------------------------------------------------------------
3
# Makefile for model library
5
# ----------------------------------------------------------------------------
7
# Check for ../make_opts
8
ifeq ($(wildcard ../make_opts), ../make_opts)
11
FFLAGS+= -ffixed-line-length-132
18
LIBRARY=libmodel.$(libext)
20
all: $(LIBDIR)$(LIBRARY) ../param_card.inc
22
rw_para.o: ../param_card.inc
23
$(FC) $(FFLAGS) -c -o rw_para.o rw_para.f
25
../param_card.inc: ../../Cards/param_card.dat
26
../../bin/madevent treatcards param
27
helas_couplings: helas_couplings.o $(LIBRARY)
28
$(FC) $(FFLAGS) -o $@ $^
30
testprog: testprog.o $(LIBRARY)
31
$(FC) $(FFLAGS) -o $@ $^
34
ar cru $(LIBRARY) $(MODEL)
37
$(LIBDIR)$(LIBRARY): $(MODEL)
38
$(call CREATELIB, $@, $^)
41
$(RM) *.o $(LIBDIR)$(LIBRARY)