From: W. Trevor King Date: Fri, 5 Oct 2012 17:38:08 +0000 (-0700) Subject: Makefile: $(CC) actually expands to `cc`, not `gcc`. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7929caf62fd25c1d686786a625b467dec28cb4f2;p=assignment-template.git Makefile: $(CC) actually expands to `cc`, not `gcc`. --- diff --git a/Makefile b/Makefile index 5ff17ab..d6ad2e6 100644 --- a/Makefile +++ b/Makefile @@ -105,9 +105,9 @@ dist: # which is the final rule used to determine the prerequisites. # # The recipe expands to -# gcc -o hello_world hello_world.o $(hello_world_LIBS) +# cc -o hello_world hello_world.o $(hello_world_LIBS) # which expands to (if hello_world_LIBS was set to `-lm`) -# gcc -o hello_world hello_world.o -lm +# cc -o hello_world hello_world.o -lm # # Striking the right balance between "everything handled # automatically" (i.e. "complicated") and "everything handled