Building Embedded Systems by Changyi Gu

Building Embedded Systems by Changyi Gu

Author:Changyi Gu
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Each shell command that is invoked by the Make utility will be echoed onscreen. You can put an @ sign in front of that command to disable the auto-echo.

The Make utility will quit if the shell command returns a non-zero value. You can put a - sign in front of that command to let the Make utility ignore the error and move on2.

You can use $@ and $< to refer to targets and prerequisites, respectively.

targets : prerequisites

shell commands ...

Example

%.o : %.c

-@echo "===> Building $@"

@$(CC) $(CFLAGS) -c -o $@ $<



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.