diff options
author | ryanm0 <ryanm0@protonmail.com> | 2020-08-04 23:19:06 -1000 |
---|---|---|
committer | ryanm0 <ryanm0@protonmail.com> | 2020-08-04 23:19:06 -1000 |
commit | 841a60783024d882e3dad3713f08712a9deae09e (patch) | |
tree | 2315da721af6883779772a6207691c471cd65df7 /Makefile | |
parent | f67807d3483aef73e9d860a38e86a0c019ba7ae1 (diff) | |
download | dwmblocks-841a60783024d882e3dad3713f08712a9deae09e.tar.gz dwmblocks-841a60783024d882e3dad3713f08712a9deae09e.tar.bz2 dwmblocks-841a60783024d882e3dad3713f08712a9deae09e.zip |
Makefile: use $(CC) instead of hardcoding gcc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,11 +1,12 @@ .POSIX: PREFIX = /usr/local +CC = gcc dwmblocks: dwmblocks.o - gcc dwmblocks.o -lX11 -o dwmblocks + $(CC) dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h - gcc -c -lX11 dwmblocks.c + $(CC) -c dwmblocks.c clean: rm -f *.o *.gch dwmblocks install: dwmblocks |