>     config.mk: make cc the default $CC

>  
> -#CC = gcc
> -#CC = musl-gcc
> -LD = $(CC)
>  CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
>  CFLAGS   = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
>  LDFLAGS  = -g
>  
> +#CC = gcc
>  #CC = tcc
> -#LD = $(CC)
> +#CC = musl-gcc
> +CC = cc
> +LD = $(CC)

If you want to do that, then the only thing you have to do is
don't assign any value to CC, because cc is the default value.
If you do in this way then the user can set his prefered
compiler exporting CC. The same apply to LD, there is
a default value that is the correct for the system.


Regards,


Reply via email to