tomwalters@0
|
1 # Copyright (c) Applied Psychology Unit, Medical Research Council. 1993
|
tomwalters@0
|
2 # ==========================================================================
|
tomwalters@0
|
3 # Permission to use, copy, modify, and distribute this software without fee
|
tomwalters@0
|
4 # is hereby granted for research purposes, provided that this copyright
|
tomwalters@0
|
5 # notice appears in all copies and in all supporting documentation, and that
|
tomwalters@0
|
6 # the software is not redistributed for any fee (except for a nominal
|
tomwalters@0
|
7 # shipping charge). Anyone wanting to incorporate all or part of this
|
tomwalters@0
|
8 # software in a commercial product must obtain a license from the Medical
|
tomwalters@0
|
9 # Research Council.
|
tomwalters@0
|
10 #
|
tomwalters@0
|
11 # The MRC makes no representations about the suitability of this
|
tomwalters@0
|
12 # software for any purpose. It is provided "as is" without express or
|
tomwalters@0
|
13 # implied warranty.
|
tomwalters@0
|
14 #
|
tomwalters@0
|
15 # THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
tomwalters@0
|
16 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
tomwalters@0
|
17 # THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
|
tomwalters@0
|
18 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
tomwalters@0
|
19 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
tomwalters@0
|
20 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
tomwalters@0
|
21 # SOFTWARE.
|
tomwalters@0
|
22 #---------------------------------------------------------------------------
|
tomwalters@0
|
23 #
|
tomwalters@0
|
24 # makefile for the temporal interval processing programs.
|
tomwalters@0
|
25 #
|
tomwalters@0
|
26 # M.Akeroyd. June 1993. Revised Autumn 1993. Rewritten Winter 1994/Summer 1995
|
tomwalters@0
|
27 #
|
tomwalters@0
|
28 #----------------------------------------------------------------------------
|
tomwalters@0
|
29
|
tomwalters@0
|
30 #CC = gcc
|
tomwalters@0
|
31 #CFLAGS = -O -s
|
tomwalters@0
|
32 #TARFILE = tip.tar
|
tomwalters@0
|
33
|
tomwalters@0
|
34 #---------------------------------------------------------------------------
|
tomwalters@0
|
35
|
tomwalters@0
|
36 all: saigraph saiinfo napgraph saisummary saicut sairotate
|
tomwalters@0
|
37
|
tomwalters@0
|
38
|
tomwalters@0
|
39 clean:
|
tomwalters@0
|
40 rm -f *.o saigraph saiinfo napgraph saisummary saicut \
|
tomwalters@0
|
41 sairotate $(TARFILE)
|
tomwalters@0
|
42
|
tomwalters@0
|
43 tidy:
|
tomwalters@0
|
44 rm -f *.o
|
tomwalters@0
|
45
|
tomwalters@0
|
46 tar:
|
tomwalters@0
|
47 tar cvf $(TARFILE) saigraph.c saiinfo.c \
|
tomwalters@0
|
48 findpeaks.c header.c inout.c interval.c \
|
tomwalters@0
|
49 trigger.c removepeaks.c findintervals_sai.c findintervals_nap.c \
|
tomwalters@0
|
50 napheader.c changeheader.c matrix.c napgraph.c saisummary.c saicut.c \
|
tomwalters@0
|
51 sairotate.c tip.h Copyright.text makefile
|
tomwalters@0
|
52
|
tomwalters@0
|
53
|
tomwalters@0
|
54 #----------------------------------------------------------------------------
|
tomwalters@0
|
55
|
tomwalters@0
|
56 saigraph: header.o inout.o changeheader.o matrix.o findpeaks.o removepeaks.o \
|
tomwalters@0
|
57 findintervals_sai.o saigraph.o
|
tomwalters@0
|
58 $(CC) $(CFLAGS) -o saigraph header.o inout.o changeheader.o matrix.o \
|
tomwalters@0
|
59 findpeaks.o removepeaks.o findintervals_sai.o saigraph.o \
|
tomwalters@0
|
60 -lm
|
tomwalters@0
|
61
|
tomwalters@0
|
62 napgraph: napheader.o header.o changeheader.o matrix.o inout.o napgraph.o \
|
tomwalters@0
|
63 findintervals_nap.o
|
tomwalters@0
|
64 $(CC) $(CFLAGS) -o napgraph napheader.o header.o changeheader.o \
|
tomwalters@0
|
65 matrix.o inout.o findintervals_nap.o napgraph.o
|
tomwalters@0
|
66
|
tomwalters@0
|
67 saiinfo: header.o inout.o saiinfo.o
|
tomwalters@0
|
68 $(CC) $(CFLAGS) -o saiinfo header.o inout.o saiinfo.o
|
tomwalters@0
|
69
|
tomwalters@0
|
70 saisummary: header.o changeheader.o inout.o matrix.o saisummary.o
|
tomwalters@0
|
71 $(CC) $(CFLAGS) -o saisummary header.o matrix.o changeheader.o \
|
tomwalters@0
|
72 inout.o saisummary.o
|
tomwalters@0
|
73
|
tomwalters@0
|
74 saicut: header.o changeheader.o inout.o saicut.o
|
tomwalters@0
|
75 $(CC) $(CFLAGS) -o saicut header.o changeheader.o inout.o saicut.o -lm
|
tomwalters@0
|
76
|
tomwalters@0
|
77 sairotate: header.o changeheader.o inout.o sairotate.o findpeaks.o trigger.o
|
tomwalters@0
|
78 $(CC) $(CFLAGS) -o sairotate header.o changeheader.o inout.o \
|
tomwalters@0
|
79 findpeaks.o trigger.o sairotate.o
|
tomwalters@0
|
80
|
tomwalters@0
|
81
|
tomwalters@0
|
82 #--------------------------------------------------------------------------
|
tomwalters@0
|
83
|
tomwalters@0
|
84
|
tomwalters@0
|
85 changeheader.o: changeheader.c tip.h
|
tomwalters@0
|
86 $(CC) $(CFLAGS) -c changeheader.c
|
tomwalters@0
|
87
|
tomwalters@0
|
88 findintervals_nap.o: findintervals_nap.c tip.h
|
tomwalters@0
|
89 $(CC) $(CFLAGS) -c findintervals_nap.c
|
tomwalters@0
|
90
|
tomwalters@0
|
91 findintervals_sai.o: findintervals_sai.c tip.h
|
tomwalters@0
|
92 $(CC) $(CFLAGS) -c findintervals_sai.c
|
tomwalters@0
|
93
|
tomwalters@0
|
94 findpeaks.o: findpeaks.c tip.h
|
tomwalters@0
|
95 $(CC) $(CFLAGS) -c findpeaks.c
|
tomwalters@0
|
96
|
tomwalters@0
|
97 header.o: header.c tip.h
|
tomwalters@0
|
98 $(CC) $(CFLAGS) -c header.c
|
tomwalters@0
|
99
|
tomwalters@0
|
100 inout.o: inout.c tip.h
|
tomwalters@0
|
101 $(CC) $(CFLAGS) -c inout.c
|
tomwalters@0
|
102
|
tomwalters@0
|
103 interval.o: interval.c tip.h
|
tomwalters@0
|
104 $(CC) $(CFLAGS) -c interval.c
|
tomwalters@0
|
105
|
tomwalters@0
|
106 matrix.o: matrix.c tip.h
|
tomwalters@0
|
107 $(CC) $(CFLAGS) -c matrix.c
|
tomwalters@0
|
108
|
tomwalters@0
|
109 napgraph.o: napgraph.c tip.h
|
tomwalters@0
|
110 $(CC) $(CFLAGS) -c napgraph.c
|
tomwalters@0
|
111
|
tomwalters@0
|
112 napheader.o: napheader.c tip.h
|
tomwalters@0
|
113 $(CC) $(CFLAGS) -c napheader.c
|
tomwalters@0
|
114
|
tomwalters@0
|
115 removepeaks.o: removepeaks.c tip.h
|
tomwalters@0
|
116 $(CC) $(CFLAGS) -c removepeaks.c
|
tomwalters@0
|
117
|
tomwalters@0
|
118 saicut.o: saicut.c tip.h
|
tomwalters@0
|
119 $(CC) $(CFLAGS) -c saicut.c
|
tomwalters@0
|
120
|
tomwalters@0
|
121 saigraph.o: saigraph.c tip.h
|
tomwalters@0
|
122 $(CC) $(CFLAGS) -c saigraph.c
|
tomwalters@0
|
123
|
tomwalters@0
|
124 saiinfo.o: saiinfo.c tip.h
|
tomwalters@0
|
125 $(CC) $(CFLAGS) -c saiinfo.c
|
tomwalters@0
|
126
|
tomwalters@0
|
127 sairotate.o: sairotate.c tip.h
|
tomwalters@0
|
128 $(CC) $(CFLAGS) -c sairotate.c
|
tomwalters@0
|
129
|
tomwalters@0
|
130 saisummary.o: saisummary.c tip.h
|
tomwalters@0
|
131 $(CC) $(CFLAGS) -c saisummary.c
|
tomwalters@0
|
132
|
tomwalters@0
|
133 trigger.o: trigger.c tip.h
|
tomwalters@0
|
134 $(CC) $(CFLAGS) -c trigger.c
|
tomwalters@0
|
135
|
tomwalters@0
|
136 saimaxpeak.o: saimaxpeak.c tip.h
|
tomwalters@0
|
137 $(CC) $(CFLAGS) -c saimaxpeak.c
|
tomwalters@0
|
138
|
tomwalters@0
|
139
|
tomwalters@0
|
140 # The End
|
tomwalters@0
|
141 # ----------------------------------------------------
|
tomwalters@0
|
142
|
tomwalters@0
|
143
|