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