Added variable in makefile to change c compiler
This commit is contained in:
parent
31b9d65b31
commit
dcb198d7d7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
|||
PREFIX ?= /usr/local
|
||||
|
||||
CC ?= cc
|
||||
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:
|
||||
rm -f *.o *.gch dwmblocks
|
||||
install: output
|
||||
|
|
Reference in a new issue