# "boxify", is a simple filter for cleaning up quite general CIF # and make it readable for "WOL" # Copyright (C) 1990 Tor Sverre Lande # Author's address: bassen@ifi.uio.no # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation (any version). # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. DESTDIR = /local/vlsi/bin/$(HOSTTYPE) MANDIR = /local/vlsi/man/man1 #CFLAGS = -g -I/local/vlsi/include CFLAGS = -g TRAPESSRC = trapes/edges.c trapes/findnext.c trapes/mates.c\ trapes/delete.c trapes/gentrapes.c trapes/trapes.c TRAPESOBJ = trapes/edges.o trapes/findnext.o trapes/mates.o\ trapes/delete.o trapes/gentrapes.o trapes/trapes.o INCLUDES = trapes/poly.h trapes/trapes.h p2c.h boxify.h boxify: trapes boxify.o boxify.h cc -o boxify boxify.o $(TRAPESOBJ) -lm trapes: $(TRAPESSRC) (cd trapes; make) install: boxify boxify.1 cp boxify $(DESTDIR) cp boxify.1 $(MANDIR) tar: $(INCLUDES) $(TRAPESSRC) boxify.c boxify.1 Makefile tar cvf ./boxify.tar $(INCLUDES) $(TRAPESSRC) boxify.c boxify.1 Makefile trapes/Makefile compress boxify.tar clean: rm *.o