#
# MS-DOS SHELL - Makefile
#
# MS-DOS SHELL - Copyright (c) 1990,1,2 Data Logic Limited.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice is duplicated in the
# source form.
#
#
#    $Header: /usr/users/istewart/src/shell/sh2.1/RCS/Makefile,v 2.1 1992/12/14 10:54:56 istewart Exp $
#
#    $Log: Makefile,v $
# Revision 2.1  1992/12/14  10:54:56  istewart
# BETA 215 Fixes and 2.1 Release
#
# Revision 2.0  1992/04/13  17:40:33  Ian_Stewartson
# MS-Shell 2.0 Baseline release
#
#
#

ASFLAGS= /Ml # /Zi /Zd
#CL = -AL -Olt -W3
#BETA = RELEASE

OBJS=	sh1.obj sh2.obj sh3.obj sh4.obj sh5.obj sh6.obj	 sh7.obj	\
	sh8.obj sh9.obj sh10.obj sh11.obj sh12.obj

SRCS=	sh0.asm sh1.c sh2.c sh3.c sh4.c sh5.c sh6.c sh7.c sh8.c	\
	sh9.c sh10.c sh11.c sh12.c

all:	sh.exe
all2:	sh2.exe

sh6.obj: $(SRCS)
	cl -c -DRELEASE=$(BETA) sh6.c

sh.exe:	$(OBJS) sh0.obj
	cl -F 8000 -o sh sh0 sh1 sh2 sh3 sh4 sh5 sh6 sh7 sh8 sh9 sh10 sh11 sh12 -link /noe

sh2.exe: $(OBJS)
	cl -o sh_os2.exe $(OBJS) sh.def -link /noe

all3:	swap.obj system.obj
	cl -F 8000 -o sys swap system
