WFDB Software Package 10.7.0
(1,397 bytes)
# file: Makefile.tpl G. Moody 23 May 2000
# Last revised: 24 April 2020
# This section of the Makefile should not need to be changed.
CFILES = example1.c example2.c example3.c example4.c example5.c example6.c \
example7.c example8.c example9.c example10.c exannstr.c exgetann.c \
exgetvec.c exputvec.c pgain.c psamples.c psamplex.c refhr.c stdev.c \
wfdbversion.c
XFILES = \
example1$(EXEEXT) \
example2$(EXEEXT) \
example3$(EXEEXT) \
example4$(EXEEXT) \
example5$(EXEEXT) \
example6$(EXEEXT) \
example7$(EXEEXT) \
example8$(EXEEXT) \
example9$(EXEEXT) \
example10$(EXEEXT) \
exannstr$(EXEEXT) \
exgetann$(EXEEXT) \
exgetvec$(EXEEXT) \
exputvec$(EXEEXT) \
pgain$(EXEEXT) \
psamples$(EXEEXT) \
psamplex$(EXEEXT) \
refhr$(EXEEXT) \
stdev$(EXEEXT) \
wfdbversion$(EXEEXT)
MFILES = Makefile Makefile.dos
# General rule for compiling C sources into executable files. This is
# redundant for most versions of `make', but at least one System V version
# needs it.
.c:
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
# `make' or `make all': compile the examples
all: $(XFILES)
# `make install': compile but do no more
install: all
uninstall:
echo "Nothing to be done for uninstall"
# `make listing': print a listing of sources
listing:
$(PRINT) README $(MFILES) $(CFILES)
# `make clean': remove executable, intermediate and backup files
clean:
rm -f $(XFILES) *.o *~ core