# makefile
#
# This is part of the flight simulator 'fly8'.
# Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
#

#
# machine specific makefile for msdos, ms vc1 (c8)
#

CC=	cl
CFLAGS=	-AL -O2 -W4 $(XFLAGS)
LFLAGS=	-AL

all:	vesa.exe

vesa.obj:	vesa.c fly.h vgr.h vesa.h
	$(CC) $(CFLAGS) -c $*.c

vgr.obj:	vgr.c fly.h vgr.h
	$(CC) $(CFLAGS) -c $*.c

grstat.obj:	grstat.c fly.h vgr.h
	$(CC) $(CFLAGS) -c $*.c

vesa.exe:	vesa.obj vgr.obj grstat.obj
	$(CC) $(LFLAGS) vesa.obj vgr.obj grstat.obj
