From 904e40790870aedbc579d9093b6786b0c1500a96 Mon Sep 17 00:00:00 2001 From: aidan Date: Wed, 19 Aug 2020 10:12:37 -0600 Subject: Added back the ability to change compiler with CC environment variable. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3cfa764..8b3a30e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ PREFIX ?= /usr/local +CC ?= cc output: dwmblocks.c blocks.def.h blocks.h - cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks + ${CC} `pkg-config --cflags x11 --libs x11` dwmblocks.c -o dwmblocks blocks.h: cp blocks.def.h $@ -- cgit v1.2.3