FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Converting rmake scripts to Borland's make
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Converting rmake scripts to Borland's make
Posted: Tue Aug 11, 2015 09: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 (fw): Select all Collapse
call rmake inv /d%1


In rmk
Code (fw): Select all Collapse
#ifdef DEMO
  switch=/dDEMO /dLIMIT
#else
  switch=/dSELL
#endif


TIA
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Converting rmake scripts to Borland's make
Posted: Tue Aug 11, 2015 02:00 PM

Hua,

make -fyourmake.mak flag1=demo flag2=limit

From your makefile:

$(flag1)

$(flag2)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Converting rmake scripts to Borland's make
Posted: Wed Aug 12, 2015 01:40 AM

Thanks for the quick reply Antonio! :D

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion