From: Aidan Date: Mon, 6 Jul 2020 08:10:33 +0000 (-0600) Subject: Added variable in makefile to change c compiler X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=dcb198d7d7da45b8d7cd2d241b42f8405bd049b1;p=dwmblocks.git Added variable in makefile to change c compiler --- diff --git a/Makefile b/Makefile index c45a563..3336e3c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX ?= /usr/local - +CC ?= cc output: dwmblocks.c blocks.h - cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks + ${CC} `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks clean: rm -f *.o *.gch dwmblocks install: output