Added back the ability to change compiler with CC environment variable.

This commit is contained in:
aidan 2020-08-19 10:12:37 -06:00
parent 416a36d636
commit 904e407908

View File

@ -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 $@