# makefile script.
# 
# Fill in the names to complete. 
 
#NMAKEFILE is the name of the nmake file that 
# VC++ Uses. 
NMAKEFILE=cassette.mak
 
#IFILES is the list of include files. 
#IDIR is the include install directory 
IFILES= 
IDIR=../inc 
 
#LFILES, LDIR work the same: 
LFILES= 
LDIR=../lib 
 
#BFILES, BDIR work the same: 
BFILES= cassette.exe cassette.hlp
BDIR=../bin 
 
all: bdp 

cassette.exe:
	$(DPCMD) $(NMAKEFILE) 

cassette.hlp: cassette.hpj resource.h hlp/afxcore.rtf hlp/afxprint.rtf hlp/appexit.bmp hlp/bullet.bmp hlp/curarw2.bmp hlp/curarw4.bmp hlp/curhelp.bmp hlp/editcopy.bmp hlp/editcut.bmp hlp/editpast.bmp hlp/editundo.bmp hlp/filenew.bmp hlp/fileopen.bmp hlp/fileprnt.bmp hlp/filesave.bmp hlp/hlpsbar.bmp hlp/hlptbar.bmp hlp/scmax.bmp hlp/scmenu.bmp hlp/scmin.bmp 
	makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >hlp/cassette.hm
	makehm IDP_,HIDP_,0x30000 resource.h >>hlp/cassette.hm
	makehm IDR_,HIDR_,0x20000 resource.h >>hlp/cassette.hm
	makehm IDD_,HIDD_,0x20000 resource.h >>hlp/cassette.hm
	makehm IDW_,HIDW_,0x50000 resource.h >>hlp/cassette.hm
	hc31 cassette.hpj


dp: cassette.exe cassette.hlp

 
#Remove an installed BDP: 
r_bdp: 
	[ 
	dir=$(BDIR) 
	files="$(BFILES)"
	$(RCMD) 
	] 
 
# install an bdp: 
bdp: dp r_bdp 
	[ 
	dir=$(BDIR) 
	files="$(BFILES)" 
	$(ICMD) 
	] 
 
# Commands to clean up 
clean:  
	$(CLEANCMD) 
 
clean-all: clean 
	$(CLNALLCMD)  
 
