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


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


