@echo off
REM -- First make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file.  Used by BEMINP.HPJ. >"hlp\BemInp.hm"
echo. >>"hlp\BemInp.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\BemInp.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\BemInp.hm"
echo. >>"hlp\BemInp.hm"
echo // Prompts (IDP_*) >>"hlp\BemInp.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\BemInp.hm"
echo. >>"hlp\BemInp.hm"
echo // Resources (IDR_*) >>"hlp\BemInp.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\BemInp.hm"
echo. >>"hlp\BemInp.hm"
echo // Dialogs (IDD_*) >>"hlp\BemInp.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\BemInp.hm"
echo. >>"hlp\BemInp.hm"
echo // Frame Controls (IDW_*) >>"hlp\BemInp.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\BemInp.hm"
REM -- Make help for Project BEMINP


echo Building Win32 Help files
start /wait hcrtf -x "hlp\BemInp.hpj"
echo.
if exist Debug\nul copy "hlp\BemInp.hlp" Debug
if exist Debug\nul copy "hlp\BemInp.cnt" Debug
if exist Release\nul copy "hlp\BemInp.hlp" Release
if exist Release\nul copy "hlp\BemInp.cnt" Release
echo.


