FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Ayuda make.exe de borland c++5.82 (RESUELTO)
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Ayuda make.exe de borland c++5.82 (RESUELTO)
Posted: Mon Mar 04, 2013 03:23 PM
Estimados

Como puede capturar una definición desde make de borland 5.82

me explico

necesito capturar esto
-DPRUEBA

c:\borland\bcc582\bin\make -DPRUEBA -fwcta.rmk


en en archivo RMK

$(HBDIR)\bin\harbour $< /a /n /w1 /es2 /DPRUEBA /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include;include;D:\Apl\PRGS\Lib32\tTaskpanel\include
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Ayuda make.exe de borland c++5.82
Posted: Mon Mar 04, 2013 04:42 PM

Patricio,

Al llamar al make le proporcionas el define asi:

make -ftest.mak tipo="PRUEBA"

y desde el fichero make lo usas directamente con $( ... )

$(HBDIR)\bin\harbour $< /a /n /w1 /es2 /D$(tipo) /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include;include;D:\Apl\PRGS\Lib32\tTaskpanel\include

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Re: Ayuda make.exe de borland c++5.82
Posted: Tue Mar 05, 2013 12:21 PM

Gracias Antonio, funciono perfecto

Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl

Continue the discussion