Added back the ability to change compiler with CC environment variable.
This commit is contained in:
parent
416a36d636
commit
904e407908
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1,7 +1,8 @@
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
CC ?= cc
|
||||||
|
|
||||||
output: dwmblocks.c blocks.def.h blocks.h
|
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:
|
blocks.h:
|
||||||
cp blocks.def.h $@
|
cp blocks.def.h $@
|
||||||
|
|
||||||
|
|
Reference in a new issue