How to build large project from eclipse using make utility ?

The make.exe utility is located at C:Eclipsemsys

Following is a batch file called make.bat

@rem ######################################################## @rem # # @rem # Eclipse build configuration start batch as # @rem # general GNU make build process entry point # @rem # # @rem # AEP2.1 / RBR # @rem # # @rem ########################################################

@echo off

set buildmode=%1 set verbose=%2 set MEASURE=""

IF "%4"=="" ( set mv=%3 ) ELSE (

set MEASURE=%3

set mv=%4 )

set dh=%mv:~0,-2%.h set dc=%mv:~0,-2%.c set do=%mv:~0,-2%.o

IF %mv% == %dc% set mv=%do% IF %mv% == %dh% set mv=%do%

rem GNU make options used: rem -r : turn off GNU make built-in implicite rules rem -j : configure GNU to run jobs simultaneously, here rem set to 2-threads

%MSYS%make.exe -r BUILDMODE=%buildmode% MAKE_VERBOSE=%verbose% %mv%

This batch file has %MSY%. I think %MSY% is path C:Eclipsemsys which I need to specify in a environment variable.

This batch file has %1, %2, %3, %4. I think these are inputs I need to specify when I invoke make.exe. Looking at the batch file, it looks like build has to be invoked from Eclipse.

How should I invoke this build from eclipse ?

The folder that contain make.bat also contains make.mk

--------------------------------------- Posted through

formatting link

Reply to
learn
Loading thread data ...

I entered following from the command line:

make msm_debug VERBOSE_ON

what should be %mv%

--------------------------------------- Posted through

formatting link

Reply to
learn

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.