Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Makefile Files

Makefile Files

If you look closer at the contents of a subproject folder, you can also find a file named Makefile to provide default preprocessing directives, commands, macros, and other expressions to Nmake.exe. However, in Windows Embedded CE, this Makefile includes only a single line that references %_MAKEENVROOT%Makefile.def. By default, the environment variable %_MAKEENVROOT% points to the C:Wince6OOPublicCommonOakMisc folder and the Makefile.def file in this location is the standard Makefile for all CE components, so you should not modify this file. Among other things, the Makefile.def file contains include statements to pull in Sources file, such as !INCLUDE $(MAKEDIR)sources, which specify the Sources file from the subproject folder. You should edit the Sources file in the subproject folder to adjust the way Nmake.exe builds the target file.

Оглавление книги

Оглавление статьи/книги

Генерация: 3.796. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз