# Makefile for Serial video display # $Id: Makefile,v 1.7 2001/01/31 07:25:31 eric Exp $ # # Copyright 2000, 2001 Eric Smith <eric@brouhaha.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as published # by the Free Software Foundation. Note that permission is not granted # to redistribute this program under the terms of any other version of the # General Public License. # # 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; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Licenses for non-GPL use may be negotiated with the author. all: servid.hex servid.lst REL=03 DISTFILES = MANIFEST README COPYING SCHEMATIC BOM TODO \ Makefile servid.asm sxdefs.inc ascii.inc delm.inc \ charset.inc \ servid.hex %.lst %.hex: %.asm gpasm $< servid.hex: sxdefs.inc ascii.inc delm.inc charset.inc floppy: servid.hex mount /mnt/floppy && cp servid.hex /mnt/floppy && umount /mnt/floppy fdist: servid$(REL).zip servid.hex mount /mnt/floppy && cp servid.hex servid$(REL).zip /mnt/floppy && umount /mnt/floppy # egrep '^[[:space:]]*include[[:space:]]"[a-z0-9.]+" dist: servid$(REL).zip servid$(REL).zip: $(DISTFILES) rm -f servid$(REL).zip zip -9 servid$(REL).zip $(DISTFILES)