From dcb198d7d7da45b8d7cd2d241b42f8405bd049b1 Mon Sep 17 00:00:00 2001 From: Aidan Date: Mon, 6 Jul 2020 02:10:33 -0600 Subject: Added variable in makefile to change c compiler --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3