diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/saitools/makefile	Fri May 20 15:19:45 2011 +0100
@@ -0,0 +1,143 @@
+#   Copyright (c) Applied Psychology Unit, Medical Research Council. 1993
+#   ==========================================================================
+#   Permission to use, copy, modify, and distribute this software without fee 
+#   is hereby granted for research purposes, provided that this copyright 
+#   notice appears in all copies and in all supporting documentation, and that 
+#   the software is not redistributed for any fee (except for a nominal 
+#   shipping charge). Anyone wanting to incorporate all or part of this 
+#   software in a commercial product must obtain a license from the Medical 
+#   Research Council.
+#
+#    The MRC makes no representations about the suitability of this 
+#    software for any purpose.  It is provided "as is" without express or
+#    implied warranty.
+# 
+#   THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 
+#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 
+#   THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES 
+#   OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
+#   WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 
+#   ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 
+#   SOFTWARE.
+#---------------------------------------------------------------------------
+#
+# makefile for the temporal interval processing programs.
+#
+# M.Akeroyd. June 1993.  Revised Autumn 1993. Rewritten Winter 1994/Summer 1995
+#
+#----------------------------------------------------------------------------
+
+#CC = gcc
+#CFLAGS = -O -s
+#TARFILE = tip.tar
+
+#---------------------------------------------------------------------------
+
+all: saigraph saiinfo napgraph saisummary saicut sairotate 
+
+
+clean:
+	rm -f *.o saigraph saiinfo napgraph saisummary saicut \
+	sairotate $(TARFILE)
+
+tidy: 
+	rm -f *.o
+	
+tar: 
+	tar cvf $(TARFILE) saigraph.c saiinfo.c \
+	findpeaks.c header.c inout.c interval.c  \
+	trigger.c removepeaks.c findintervals_sai.c findintervals_nap.c \
+	napheader.c changeheader.c matrix.c napgraph.c saisummary.c saicut.c \
+	sairotate.c tip.h Copyright.text makefile
+
+
+#----------------------------------------------------------------------------
+
+saigraph: header.o inout.o changeheader.o matrix.o findpeaks.o removepeaks.o \
+	findintervals_sai.o saigraph.o
+	$(CC) $(CFLAGS) -o saigraph header.o inout.o changeheader.o matrix.o \
+	findpeaks.o removepeaks.o findintervals_sai.o saigraph.o \
+	-lm
+
+napgraph: napheader.o header.o changeheader.o matrix.o inout.o napgraph.o \
+	findintervals_nap.o
+	$(CC) $(CFLAGS) -o napgraph napheader.o header.o changeheader.o \
+	matrix.o inout.o findintervals_nap.o napgraph.o
+
+saiinfo: header.o inout.o saiinfo.o
+	$(CC) $(CFLAGS) -o saiinfo header.o inout.o saiinfo.o
+
+saisummary: header.o changeheader.o inout.o matrix.o saisummary.o
+	$(CC) $(CFLAGS) -o saisummary header.o matrix.o changeheader.o \
+	inout.o saisummary.o 
+
+saicut: header.o changeheader.o inout.o saicut.o
+	$(CC) $(CFLAGS) -o saicut header.o changeheader.o inout.o saicut.o -lm
+
+sairotate: header.o changeheader.o inout.o sairotate.o findpeaks.o trigger.o
+	$(CC) $(CFLAGS) -o sairotate header.o changeheader.o inout.o \
+	findpeaks.o trigger.o sairotate.o
+
+
+#--------------------------------------------------------------------------
+
+
+changeheader.o: changeheader.c tip.h
+	$(CC) $(CFLAGS) -c changeheader.c
+
+findintervals_nap.o: findintervals_nap.c tip.h
+	$(CC) $(CFLAGS) -c findintervals_nap.c
+
+findintervals_sai.o: findintervals_sai.c tip.h
+	$(CC) $(CFLAGS) -c findintervals_sai.c
+ 
+findpeaks.o: findpeaks.c  tip.h
+	$(CC) $(CFLAGS) -c findpeaks.c
+
+header.o: header.c  tip.h
+	$(CC) $(CFLAGS) -c header.c 
+
+inout.o: inout.c  tip.h
+	$(CC) $(CFLAGS) -c inout.c
+
+interval.o: interval.c  tip.h
+	$(CC) $(CFLAGS) -c interval.c
+
+matrix.o: matrix.c tip.h
+	$(CC) $(CFLAGS) -c matrix.c
+
+napgraph.o: napgraph.c tip.h
+	$(CC) $(CFLAGS) -c napgraph.c
+
+napheader.o: napheader.c tip.h
+	$(CC) $(CFLAGS) -c napheader.c
+
+removepeaks.o:	removepeaks.c tip.h
+	$(CC) $(CFLAGS) -c removepeaks.c
+
+saicut.o: saicut.c tip.h
+	$(CC) $(CFLAGS) -c saicut.c
+
+saigraph.o: saigraph.c tip.h
+	$(CC) $(CFLAGS) -c saigraph.c
+
+saiinfo.o: saiinfo.c tip.h
+	$(CC) $(CFLAGS) -c saiinfo.c
+
+sairotate.o: sairotate.c tip.h
+	$(CC) $(CFLAGS) -c sairotate.c
+
+saisummary.o: saisummary.c tip.h
+	$(CC) $(CFLAGS) -c saisummary.c
+
+trigger.o: trigger.c  tip.h
+	$(CC) $(CFLAGS) -c trigger.c
+
+saimaxpeak.o: saimaxpeak.c tip.h 
+	$(CC) $(CFLAGS) -c saimaxpeak.c
+
+
+# The End
+# ----------------------------------------------------
+
+