# (C) Copyright 1992 Qualitas, Inc.  All rights reserved.
#
# Makefile for DPMI class library examples with Microsoft C++ 7.0
#
# The following tools are required and must be on your path
#
#	cl	7.00
#	link	5.30
#
# Also, set your INCLUDE and LIB environment variables for the MS C 7.0
# environment.

OBJS	= ..\lib\crt0dat.obj ..\lib\chkstk.obj
C	= cl /I..\include /G2 /Gs /AS /Zp1 /c   $*.c
CPP	= cl /I..\include /G2 /Gs /AS /Zp1 /c   $*.cpp
LINK	= link /stack:8192 $*.obj $(OBJS),$*.exe,,..\lib\dpmi ..\lib\dpmiclas;

examples: xmem.exe xintr.exe xcept.exe xreal.exe hello.exe qsort.exe 

.cpp.exe:
	$(CPP) 
	$(LINK) 
.c.exe:
	$(C) 
	$(LINK) 

