diff options
Diffstat (limited to 'documentation/sdk-manual/working-projects.rst')
-rw-r--r-- | documentation/sdk-manual/working-projects.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/sdk-manual/working-projects.rst b/documentation/sdk-manual/working-projects.rst index 7483d51fa3..296d7d8464 100644 --- a/documentation/sdk-manual/working-projects.rst +++ b/documentation/sdk-manual/working-projects.rst | |||
@@ -286,14 +286,14 @@ example: | |||
286 | # CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux | 286 | # CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux |
287 | # CC="gcc" | 287 | # CC="gcc" |
288 | all: main.o module.o | 288 | all: main.o module.o |
289 | ${CC} main.o module.o -o target_bin | 289 | ${CC} main.o module.o -o target_bin |
290 | main.o: main.c module.h | 290 | main.o: main.c module.h |
291 | ${CC} -I . -c main.c | 291 | ${CC} -I . -c main.c |
292 | module.o: module.c | 292 | module.o: module.c |
293 | module.h ${CC} -I . -c module.c | 293 | module.h ${CC} -I . -c module.c |
294 | clean: | 294 | clean: |
295 | rm -rf *.o | 295 | rm -rf *.o |
296 | rm target_bin | 296 | rm target_bin |
297 | 297 | ||
298 | 4. *Make the Project:* Use the ``make`` command to create the binary | 298 | 4. *Make the Project:* Use the ``make`` command to create the binary |
299 | output file. Because variables are commented out in the Makefile, the | 299 | output file. Because variables are commented out in the Makefile, the |