Added back the ability to change compiler with CC environment variable.
This commit is contained in:
parent
416a36d636
commit
904e407908
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 $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue