commit 904e40790870aedbc579d9093b6786b0c1500a96
parent 416a36d63642b7261d347e29eb2b6cdddf8dba77
Author: aidan <aidan@Edward.localdomain>
Date: Wed, 19 Aug 2020 10:12:37 -0600
Added back the ability to change compiler with CC environment variable.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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 $@