Converting rmake scripts to Borland's make

Converting rmake scripts to Borland's make

Postby hua » Tue Aug 11, 2015 9:13 am

Hi guys,
My office just upgraded my PC to a Win 10 64-bit forcing me to dump programs such as rmake.

I guess I can use the sample provided by Antonio bormake.zip to guide me to convert my rmk scripts. However I wonder how do I translate the #defines?

In batch file
Code: Select all  Expand view

call rmake inv /d%1
 


In rmk
Code: Select all  Expand view

#ifdef DEMO
  switch=/dDEMO /dLIMIT
#else
  switch=/dSELL
#endif


TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: Converting rmake scripts to Borland's make

Postby Antonio Linares » Tue Aug 11, 2015 2:00 pm

Hua,

make -fyourmake.mak flag1=demo flag2=limit

From your makefile:

$(flag1)

$(flag2)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41904
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Converting rmake scripts to Borland's make

Postby hua » Wed Aug 12, 2015 1:40 am

Thanks for the quick reply Antonio! :D
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: JoséQuintas and 35 guests