From: aidan Date: Wed, 19 Aug 2020 16:12:37 +0000 (-0600) Subject: Added back the ability to change compiler with CC environment variable. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=904e40790870aedbc579d9093b6786b0c1500a96;p=dwmblocks.git Added back the ability to change compiler with CC environment variable. --- 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 $@