# 
# /*************************************************
# *     rpld - an IBM style RIPL server            *
# *************************************************/
# 
# /* Copyright (c) 1999,2000, James McKenzie.
#  *                      All rights reserved
#  * Copyright (c) 1999,2000, Christopher Lightfoot.
#  *                      All rights reserved
#  *
#  * By using this file, you agree to the terms and conditions set
#  * forth in the LICENCE file which can be found at the top level of
#  * the rpld distribution.
#  *
#  * IBM is a trademark of IBM corp.
#  *
#  */

#
# $Id: Makefile,v 1.5 2000/07/16 21:09:58 root Exp $
#
# $Log: Makefile,v $
# Revision 1.5  2000/07/16 21:09:58  root
# #
#
# Revision 1.4  2000/07/16 14:05:30  root
# #
#
# Revision 1.3  1999/09/14 17:18:27  root
# #
#
# Revision 1.2  1999/09/14 17:12:38  root
# #
#
# Revision 1.1  1999/09/14 16:17:15  root
# #
#
# Revision 1.1  1999/09/13 12:36:20  root
# #
#
#

AS86=as86 -0 -a 
LD86=ld86 -s -d

dmfix:dmfix.o
	$(LD86) -o $@ $<

dmfix.o: dmfix.s
	$(AS86) -o $@ $<

dmfix.s: dmfix.S 
	$(CPP) -traditional $< -o $@

clean:
	/bin/rm -rf dmfix dmfix.s dmfix.o

tidy:
	ci -m\# -l dmfix.S
	ci -m\# -l Makefile

install: dmfix
	cp dmfix /rplboot
