Makefile Interface
To remove all target files for a given configuration
- Change directory to $PROJECT_DIR.
- make -f nbproject/Makefile-debugOption.mk SUBPROJECTS= .clean-conf
This will clean the target files for the debugOption configuration.
To remove all target files for all configurations
- Change directory to $PROJECT_DIR.
- make clobber
To run the Makefile for a given configuration
- Change directory to $PROJECT_DIR.
- Set environment variables to override values in the Make process.
- make -f nbproject/Makefile-$CONFIGURATION_NAME.mk SUBPROJECTS= .build-conf where $CONFIGURATION_NAME is the name of the configuration Makefile to be run.
For a configuration called default:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
The output for a configuration is one of the debug files .cof or .elf. The production image will be a .hex file.
dist/$CONFIGURATION_NAME/production/$PROJECT_NAME.production.hex
dist/$CONFIGURATION_NAME/debug/$PROJECT_NAME.debug.$COF_OR_ELF
where $COF_OR_ELF is either cof or elf, and $PROJECT_NAME is the name of the project.