anyone who knows how to make gcc instead of cc the default complier of 'make'?
for example I have a source code xyz.c and in my Makefile I type:
CFLAGS=-Wall -g
all: xyz
and then on the terminal when I execute make xyz, and it outputs
cc -Wall -g xyc.c -o xyz
How can I make gcc it's default compiler?