~maddevelopers/mg5amcnlo/3.0.2-alpha0

« back to all changes in this revision

Viewing changes to Template/Source/CERNLIB/makefile_dynamic

Added Template and HELAS into bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Note that optimization doesn't work on all machines
 
2
F77           = f77
 
3
FFLAGS        = -fPIC
 
4
LIBRARY = libcernlib.so
 
5
LIBDIR  = ../../lib/
 
6
SOURCES = abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
 
7
 
 
8
all: $(LIBDIR)$(LIBRARY)
 
9
 
 
10
%.o : %.f makefile
 
11
        $(F77) $(FFLAGS) -c $<
 
12
 
 
13
$(LIBDIR)$(LIBRARY): $(SOURCES)
 
14
        g77 -shared -o $(LIBRARY) $^
 
15
        mv $(LIBRARY) $(LIBDIR)
 
 
b'\\ No newline at end of file'