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