Editing Makefiles (C Generator)
- Updated2023-02-21
- 1 minute(s) read
To build the generated C code for a specific target, you must edit Makefile to customize compiler and linker options, dependencies, and build rules. By default, the C Generator creates a makefile for building a 32-bit Windows platform (Win32) DLL. To generate an application or library for a specific target, refer to the code comments in Makefile for instructions on customizing Makefile.
![]() |
Tip To open the directory containing the generated C files, including Makefile, right-click the C Code Generation build specification in the Project Explorer window and select Explore from the shortcut menu. |
Do not edit dependencies.mk because this file is overwritten automatically each time you generate C code.
