aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraidan <aidan@Edward.localdomain>2020-08-19 10:12:37 -0600
committeraidan <aidan@Edward.localdomain>2020-08-19 10:12:37 -0600
commit904e40790870aedbc579d9093b6786b0c1500a96 (patch)
treef36fad713dda54ea22091db13f0a374645bd0fbc /Makefile
parent416a36d63642b7261d347e29eb2b6cdddf8dba77 (diff)
Added back the ability to change compiler with CC environment variable.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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 $@