![]() |
OpenMake Meister |
Next, a Makefile needs to be created that uses the Meister commands. An example is supplied with the product at <Meister Install Path>/client/examples/Eclipse CDT Integration/cygwin_gcc_example_makefile. The values in your makefile may differ according to your naming conventions.
The Makefile should go in the root of the project folder. There is no need to have separate Makefiles for different configurations. Differences in configurations are handled automatically by Meister Build Services. Otherwise, the layout of the Makefile should be according to Table PB-28.
Table PB-28 Eclipse Project Makefile Layout
Makefile Target |
Dependencies and Action |
All |
Depends on: windows.mak (or linux.mak, aix.mak, etc. as appropriate)
Action: om –l –ov CFG=$(CFG) |
Clean |
Depends on: windows.mak (or linux.mak, aix.mak, etc. as appropriate)
Action: om –l –ov CFG=$(CFG) clean |
windows.mak
(or linux.mak, aix.mak, etc. as appropriate)
|
Depends on: $(TARGET_DEFINITION)/*.tgt
(Or a single target definition such as “$(TARGET_DEFINITION)/$(PROJECT_NAME).exe.tgt” )
Action: bldmake.exe cdt ws -s -ov \ \$$\(CFG\)/$(PROJECT_NAME).exe
|