Diff of /HRV.src/Makefile [000000] .. [1a3ddc]

Switch to unified view

a b/HRV.src/Makefile
1
# file: Makefile    Joe Mietus and George Moody Feb 12 2008
2
#                   Last revised:   Aug 4 2009 (by GBM)
3
# 'make' description file for the HRV Toolkit
4
5
# The WFDB library must be installed before the HRV Toolkit can be compiled.
6
# Get the WFDB software from http://physionet.org/physiotools/wfdb.shtml .
7
8
# The HRV Toolkit will be installed in BINDIR (by default, /usr/bin). If you
9
# change it, make sure that your PATH includes BINDIR.
10
BINDIR=/usr/local/bin
11
12
# These scripts need a POSIX shell (e.g., sh or bash) in order to run.
13
SCRIPTS = get_hrv plt_rrs
14
ALL = filt filtnn hours pwr seconds statnn
15
16
all: $(ALL)
17
18
# 'make install' copies the HRV toolkit's scripts and binaries to BINDIR.
19
install:
20
    cp -p $(SCRIPTS) $(ALL) $(BINDIR)
21
22
# 'make bin-tarball' creates a tarball of binaries.
23
bin-tarball:    all
24
    mkdir HRV
25
    cp -p $(SCRIPTS) $(ALL) Usages HRV
26
    tar cfvz HRV-`arch`-`uname`.tar.gz HRV
27
    rm -rf HRV
28
29
# 'make clean' removes old copies of the executables.
30
clean:
31
    rm -f $(ALL)
32
33
filt :      filt.c
34
    $(CC) -O -o $@ filt.c
35
36
filtnn :    filtnn.c
37
    $(CC) -O -o $@ filtnn.c
38
39
hours :     hours.c
40
    $(CC) -O -o $@ hours.c
41
42
pwr :       pwr.c
43
    $(CC) -O -o $@ pwr.c
44
45
seconds :   seconds.c
46
    $(CC) -O -o $@ seconds.c
47
48
statnn :    statnn.c
49
    $(CC) -O -o $@ statnn.c -lm
50