📄 makefile
字号:
# file: Makefile P. Laguna and G. Moody 6 February 2002# Last revised: 19 June 2006# -----------------------------------------------------------------------------# UNIX 'make' description file for compiling ecgpuwave# Copyright (C) 2002-2006 Pablo Laguna and George B. Moody## This program is free software; you can redistribute it and/or modify it under# the terms of the GNU General Public License as published by the Free Software# Foundation; either version 2 of the License, or (at your option) any later# version.## This program is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more# details.## You should have received a copy of the GNU General Public License along with# this program; if not, write to the Free Software Foundation, Inc., 59 Temple# Place - Suite 330, Boston, MA 02111-1307, USA.## You may contact the author by e-mail (george@mit.edu) or postal mail# (MIT Room E25-505A, Cambridge, MA 02139 USA). For updates to this software,# please visit PhysioNet (http://www.physionet.org/).# _____________________________________________________________________________# This file is used with the UNIX `make' command to compile ecgpuwave. Install# the WFDB library (see http://www.physionet.org/physiotools/wfdb.shtml), and# copy wfdbf.c from the 'fortran' subdirectory of the WFDB sources into this# directory, before attempting to compile ecgpuwave.BINDIR=/usr/local/binOFILES= ecgpuwave.o principal.o aldetqrs.o graf.o dades.o impregraf.o \ lgraf.o prosen.o int_qt.o punts.o l_impregraf.o wfdbf.oecgpuwave: ecgpuwave.f $(OFILES) $(F77) -g -o ecgpuwave $(OFILES) -lwfdbinstall: ecgpuwave cp ecgpuwave $(BINDIR) chmod 755 $(BINDIR)/ecgpuwavecheck: ecgpuwave ./ecgpuwave -r 100s -a test @if cmp -s 100s.exp 100s.test; then echo Test 1 passed; \ else echo Test 1 Failed; fi bxb -r 100s -a test exp -O -f 0 -w s1 >bxb.out 2>&1 @if cmp -s 100s.exp 100s.bxb; then echo Test 2 passed; \ else echo Test 2 Failed; fi.f.o: $(F77) -g -c -o $@ $</usr/include/wfdb/wfdbf.c: wfdbf.c @echo Warning: the installed WFDB library may need to be updated.# Use the copy of wfdbf.c that was installed with the WFDB library if it is# newer than the copy included with the ecgpuwave sources.wfdbf.o: /usr/include/wfdb/wfdbf.c wfdbf.c if [ /usr/include/wfdb/wfdbf.c -nt wfdbf.c ]; \ then cp -p /usr/include/wfdb/wfdbf.c .; fi $(CC) -g -c -DFIXSTRINGS -o $@ wfdbf.cclean: rm -f ecgpuwave *.o *~ 100s.bxb 100s.test bxb.out fort.20 fort.21
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -