#   This makefile depends on the compiler-independent "cc.com", which
#   is supplied on every code disk.  Set your environment variable to
#   indicate which compiler you are using:
#
#   set CC=bcc      <- if you are using Borland C++ v3.1
#   set CC=msc      <- if you are using Microsoft C/C++ v7.0a
#   set CC=ztc      <- if you are using Zortech C++ v3.1

APPNAME =btn
OBJ     =$(APPNAME).obj btn_fncs.obj
MODEL   =m
DEBUG   =-d

.c.obj:
	cc -c -m$(MODEL) $(DEBUG) -DSTRICT -DWINVER=0x0300 $*.c

.rc.res:
	rc -r $*.rc

$(APPNAME).exe : $(OBJ) $(APPNAME).res makefile
        cc -m$(MODEL) $(DEBUG) $(OBJ) $(APPNAME).res

