Added variable in makefile to change c compiler

This commit is contained in:
Aidan 2020-07-06 02:10:33 -06:00
parent 31b9d65b31
commit dcb198d7d7

View file

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