Make/Makefiles (cont)
If make arguments are targets, build just those targets:
prompt$ make world.o
gcc -Wall -Werror -c world.c
|
If no args, build first target in the Makefile .
prompt$ make
gcc -Wall -Werror -c main.c
gcc -Wall -Werror -c graphics.c
gcc -Wall -Werror -c world.c
gcc -o game main.o graphics.o world.o
|
|