Ayuda make.exe de borland c++5.82 (RESUELTO)

Ayuda make.exe de borland c++5.82 (RESUELTO)

Postby Patricio Avalos Aguirre » Mon Mar 04, 2013 3: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
Last edited by Patricio Avalos Aguirre on Tue Mar 05, 2013 12:22 pm, edited 1 time in total.
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
User avatar
Patricio Avalos Aguirre
 
Posts: 1060
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile

Re: Ayuda make.exe de borland c++5.82

Postby Antonio Linares » Mon Mar 04, 2013 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ayuda make.exe de borland c++5.82

Postby Patricio Avalos Aguirre » 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
User avatar
Patricio Avalos Aguirre
 
Posts: 1060
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: karinha and 129 guests