Added variable in makefile to change c compiler
This commit is contained in:
parent
31b9d65b31
commit
dcb198d7d7
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
CC ?= cc
|
||||||
output: dwmblocks.c blocks.h
|
output: dwmblocks.c blocks.h
|
||||||
cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks
|
${CC} `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *.gch dwmblocks
|
rm -f *.o *.gch dwmblocks
|
||||||
install: output
|
install: output
|
||||||
|
Loading…
Reference in New Issue
Block a user