#
# Makefile  -  makefile for packet watcher program
#
# Copyright (C) 1995-1999 Gero Kuhlmann <gero@gkminix.han.de>
#
#  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; either version 2 of the License, or
#  any later 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; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#


#
#  Include user configuration:
#
include ../../../make.config


#
# Name of module this subdirectory is part of
#
MODULE		= netdrvr


#
#  List of source and object files:
#
CSRCS		= 
ASRCS		= pktwatch.S
TARGET		= pktwatch.com


#
#  Flags for compiling the sources
#
FLAGS		= $(UTLFL)


#
#  Include system dependent definitions:
#
include ../../../make.defs


#
#  Target rules.
#
all:		$(TARGET)


$(TARGET):	$(OBJS)
	$(LD86) $(LD86FLAGS) -o $(TARGET:%.com=%.b) $(OBJS)
	dd if=$(TARGET:%.com=%.b) of=$(TARGET) bs=256 skip=1
	cp $(TARGET) $(bindestdir)/$(TARGET)


#
#  Maintenance rules.
#
.PHONY:	dep install clean distclean realclean

install:


dep:	dep-defs


clean:	clean-defs
	rm -f $(TARGET)


distclean realclean:	realclean-defs
	rm -f $(TARGET)


### Dependencies
