# UNIX Makefile for EBS tools # Copyright (C) 1993/94 Markus Kuhn, Institut fuer Physiologie und # Biokybernetik (IPB), Universitaet Erlangen, # Deutschland # # Permission to use, copy, modify, distribute, and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appear in all copies and # related publications and that both that copyright notice and this # permission notice appear in supporting documentation. The authors make # no representations about the suitability of this software for any # purpose. It is provided "as is" without express or implied warranty. # # Send your comments, suggestions or bug reports to # ftpebs@uni-erlangen.de # # Or mail to # Institut fuer Physiologie und Biokybernetik # Markus Prosch # Universitaetsstrasse 17 # D-91054 Erlangen # Germany # $Header: /home/ipb12b/hirn/src/ebs/RCS/Makefile.dos,v 1.8 1994/03/01 11:09:54 msprosch Exp $ # # # # Type 'make' in order to compile all, type 'make install' in order to # copy the necessary files to BINDIR and type 'make clean' to remove # temporary files. # # The compiler that we want to use #CC = acc -Xc -vc #CC = gcc -ggdb -O2 -W # Compiler flags (don't forget to set the memory model # and to check the stacksize) CFLAGS = -Ih:\tools\borlandc\include -Lh:\tools\borlandc\lib -mh -DMSDOS -N # That's where 'make install' will put the binaries. BINDIR = .\bin # The programs we want to compile TARGETS = bs2ebs.exe mon70ebs.exe ebstype.exe ebscut.exe \ ebsconv.exe all: $(TARGETS) install: all mkdir $(BINDIR) copy *.exe $(BINDIR) bs2ebs.exe: bs2ebs.obj ebs.obj $(CC) $(CFLAGS) -obs2ebs.exe bs2ebs.obj ebs.obj mon70ebs.exe: mon70ebs.obj ebs.obj $(CC) $(CFLAGS) -omon70ebs.exe mon70ebs.obj ebs.obj ebstype.exe: ebstype.obj ebs.obj $(CC) $(CFLAGS) -oebstype.exe ebstype.obj ebs.obj ebsconv.exe: ebsconv.obj ebs.obj $(CC) $(CFLAGS) -oebsconv.exe ebsconv.obj ebs.obj ebscut.exe: ebscut.obj ebs.obj $(CC) $(CFLAGS) -oebscut.exe ebscut.obj ebs.obj ebs.obj: ebs.c ebs.h ebshead.obj: ebshead.c ebs.h ebshead.h ebstype.obj: ebstype.c ebs.h setstack.c ebscut.obj: ebscut.c ebs.h setstack.c ebsconv.obj: ebsconv.c ebs.h setstack.c bs2ebs.obj: bs2ebs.c ebs.h setstack.c mon70ebs.obj: mon70ebs.c ebs.h setstack.c clean: del *.obj del *.bak del *.exe