$^ makefile code example
Example 1: make file creation
hello: hello.c
${CC} hello.c -o hello
Example 2: Makefile $@ $^ $<
$@ evaluates to all
$< evaluates to library.cpp
$^ evaluates to library.cpp main.cpp
hello: hello.c
${CC} hello.c -o hello
$@ evaluates to all
$< evaluates to library.cpp
$^ evaluates to library.cpp main.cpp