# makefile for msdos ms c8

CC=	cl
CLIB=	..
HH=	$(CLIB)\h
LL=	$(CLIB)\l
GLIB=	$(LL)\gr.lib

OFLAGS=	-f- -Owcegilnot -Ob2 -OV4 -G2sy -AL -W4
CFLAGS=	$(OFLAGS) -I$(HH) -DUSE_ASM $(SHFLAGS)

COBJS=	gr.obj linec.obj linea.obj mem.obj low.obj colors.obj text.obj \
	ellipse.obj chips.obj
ASOBJS=	subs.obj

all:	$(GLIB)

$(GLIB):	$(COBJS) $(ASOBJS)
	del $(GLIB)
	lib $(GLIB) +gr +linec +linea +mem +low +colors +text +ellipse \
		+chips +subs;

$(COBJS):	grh.h

subs.obj:	subs.qc
	copy subs.qc subs.obj

clean:
	-del *.obj
