4 exec_prefix = @exec_prefix@
5 BINDIR = ${exec_prefix}/@bindir@
14 LOADLIBES = libtsa.a libsla.a
17 # list of executables we want to produce
18 BINS = c1 c2naive xc2 \
21 lazy project addnoise compare upo upoembed cluster \
22 choose rms notch autocor spectrum wiener1 wiener2 \
23 surrogates endtoend timerev \
24 events intervals spikespec spikeauto \
25 henon ikeda lorenz ar-run xrecur
27 # list of objects to be put in libtsa.a
28 INC = readfile.o xreadfile.o \
29 arguments.o commandline.o any_s.o istdio.o help.o verbose.o \
30 d1.o neigh.o normal.o rank.o \
31 nmore.o store_spec.o tospec.o
33 all: $(BINS) Randomize
35 istdio.o: istdio_temp.f
36 sed "s#ERRUNIT#${ERRUNIT}#" istdio_temp.f > istdio.f
37 $(FC) $(FFLAGS) -c istdio.f -o istdio.o
39 $(BINS): libtsa.a libsla.a *.f
40 -$(FC) $(FFLAGS) -o $@ $@.f $(LOADLIBES) $(LDFLAGS)
43 $(AR) $(ARFLAGS) libtsa.a $?
47 (cd slatec && $(MAKE))
49 Randomize: libtsa.a libsla.a
50 -(cd randomize && $(MAKE))
55 -(cd randomize && $(MAKE) clean)
58 -for bin in $(BINS); do $(INSTALL) $$bin $(BINDIR); done
59 -(cd randomize && $(MAKE) $@)
62 -@for bin in $(BINS); do \
63 test -z "`$$bin -h 2>&1 | grep Usage`" \
64 && echo $$bin "(Wuppertal Fortran)" >> ../missing.log; \
65 $$bin -h 2>&1 | cat >> ../install.log; \
67 -@(cd randomize && $(MAKE) $@)
70 -@for bin in $(BINS); do rm -f $(BINDIR)/$$bin; done
71 -@(cd randomize && $(MAKE) $@)