Here is the logic converted to plain batch solution
(needs Windows NT or upper), if anyone is interested:
#***
# General *.prg --> *.obj COMPILE rules for STATIC Libraries
#***
!if "$(HB_BATCH_
Finally, by creating a small external tool to convert
the list of .prg files to .c files in the object directory,
it's now possible to use the batch rules with MSVC.
It speeded up build creation quite noticeably, and
made the output much cleaner (one harbour, one C
compiler, one linker and one re
Hi Przemek,
Have you tried sth like:
set HB_CFG_FILE=hb_bld.cfg
echo CC=$(CC) > %HB_CFG_FILE%
echo CFLAGS=$(CLIBFLAGS) -Fo$(OBJ_DIR)\ >> %HB_CFG_FILE%
echo VERBOSE=YES >> %HB_CFG_FILE%
echo DELTMP=YES >> %HB_CFG_FILE%
and then:
{$(RTL_DIR)}.prg{$(OBJ_DIR)}$(OBJEXT)::
$(HB) $(
On Tue, 07 Oct 2008, Szak�ts Viktor wrote:
Hi Viktor,
> I'd imaging two ways to achieve that:
> 1) To have a batch rule with two steps.
>.prg -> .obj rules, with two command,
>Harbour getting all .prg as input, creating .c files, then
>cl.exe getting all .c files as input.
>This s
Hi Alex.
I'm trying to optimize MSVC non-GNU make, so that it
compiles .prg in one batch (== one harbour.exe call by
.lib), just like for .c files, as opposed to the current
one-by-one .prg file compilation approach.
Does anyone have an idea how to fix this? Marek, Paul?
I may not understan
Szakáts Viktor wrote:
I'm trying to optimize MSVC non-GNU make, so that it
compiles .prg in one batch (== one harbour.exe call by
.lib), just like for .c files, as opposed to the current
one-by-one .prg file compilation approach.
Does anyone have an idea how to fix this? Marek, Paul?
I may
On Fri, 03 Oct 2008, Szak�ts Viktor wrote:
Hi Viktor,
> I've tried it, and it's still no go, as now nmake
> says it doesn't know how to make "obj\vc\myfirstprg.obj".
> Probably because it doesn't see any myfirstprg.c,
> and, also cannot see (for some reason) that myfirstprg.c
> can be generated f
Hi Przemek,
I've tried it, and it's still no go, as now nmake
says it doesn't know how to make "obj\vc\myfirstprg.obj".
Probably because it doesn't see any myfirstprg.c,
and, also cannot see (for some reason) that myfirstprg.c
can be generated from myfirstprg.prg. Can easily be that
I'm missing s
Many thanks Przemek, I'll try this way later today.
[ I've retyped the examples from another screen, hence
the bad typos, like '}' :) ]
Brgds,
Viktor
On 2008.10.02., at 16:09, Przemyslaw Czerpak wrote:
On Thu, 02 Oct 2008, Szak�ts Viktor wrote:
Hi Viktor,
I'm trying to optimize MSVC non-GN
On Thu, 02 Oct 2008, Szak�ts Viktor wrote:
Hi Viktor,
> I'm trying to optimize MSVC non-GNU make, so that it
> compiles .prg in one batch (== one harbour.exe call by
> .lib), just like for .c files, as opposed to the current
> one-by-one .prg file compilation approach.
> IOW (and if possible), I'
Hi all,
I'm trying to optimize MSVC non-GNU make, so that it
compiles .prg in one batch (== one harbour.exe call by
.lib), just like for .c files, as opposed to the current
one-by-one .prg file compilation approach.
IOW (and if possible), I'd like to convert this rule:
---
{$(RTL_DIR)}.prg{$(OBJ
11 matches
Mail list logo