POV-Ray : Newsgroups : povray.unofficial.patches : Windows makefile for MegaPOV? : Re: Windows makefile for MegaPOV? Server Time
28 Sep 2024 16:51:50 EDT (-0400)
  Re: Windows makefile for MegaPOV?  
From: ABX
Date: 12 Jun 2003 01:54:12
Message: <424gev4655oo3ghgsi97vqrod419j5jct7@4ax.com>
On Thu, 12 Jun 2003 01:12:45 +0200, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> and benchmark.cpp (why isn't this file in MegaPOV source?)

are you sure ? in http://megapov.inetart.net/download.html it is as
'benchmar.cpp' to fit 8.3 pattern, thought in MegaPOV 1.1 it will be back
'benchmark.cpp' because 8.3 name introduced more troubles than benefits when
automatic comparing changes between for various patched releases was performed.

> from the
> 3.5 source and change \system32\hhctrl.ocx to \system\hhctrl.ocx.

I think it could be done in a portable way:

  !ifdef SystemRoot
    HTMLDIR = $(SystemRoot)\system32
  !else
    HTMLDIR = $(windir)\system
  !endif

  htmlhelp.lib:
    $(DIRBCC)\bin\implib $@ $(HTMLDIR)\hhctrl.ocx

The system variable SystemRoot is defined here under WinNT and Win 2000, and
windir is defined under Win98 and Win95. I do not know how this is defined in
WinXP and other newer versions.

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.