#
#
#	MAKE file for JMODEM, the 'C' version.
#	Created 01-FEB-1990		Richard B. Johnson
#                                       405 Broughton Drive
#                                       Beverly, Massachusetts 01915
#                                       BBS (508) 922-3166
#	Execute MAKE JMODEM
#
#	Revised 21-APR-1990		Richard B. Johnson
#
#	Changed this MAKE file after several "professional programmers"
#	informed me that the previous one was too amateur and simplistic.
#	In keeping with maintaining the highest degree of complexity possible
#	to appease these bombastic mutants of diddly-wop, I made this file
#	unreadable by incorporating macros for no useful purpose. The next
#	revision will remove all spaces and tabs <grin>.
#
#	Revised 02-JAN-1991		Richard B. Johnson
#
#	Changed the warning-level to /W4 in the Microsoft CL command to
#	be compatible with Microsoft's C600 highest level of error checking.
#
	nam	= jmodem
	headers = $(nam).h $(nam)
        src     = $*.c
	exe	= $(nam).exe
	cmp	= CL /Gs /AS /c /J /Oais /FPi /W4 /DNOENV /Fl$*.cod $(src)
	lnk	= Link/NOE/MAP/EXEPACK
        objects = $(nam)_a.obj $(nam)_b.obj $(nam)_c.obj \
                  $(nam)_d.obj $(nam)_e.obj $(nam)_f.obj

$(nam)_a.obj:		$(headers) $(src)
			$(cmp)

$(nam)_b.obj:		$(headers) $(src)
			$(cmp)

$(nam)_c.obj:		$(headers) $(src)
			$(cmp)

$(nam)_d.obj:		$(headers) $(src)
			$(cmp)

$(nam)_e.obj:		$(headers) $(src) uart.h
			$(cmp)

$(nam)_f.obj:		$(headers) $(src) screen.h
			$(cmp)

$(exe):			$(headers) $(objects)
			$(lnk) $(objects), $(exe);
