]> git.armaanb.net Git - dwmblocks.git/commitdiff
Added variable in makefile to change c compiler
authorAidan <torrinfail@gmail.com>
Mon, 6 Jul 2020 08:10:33 +0000 (02:10 -0600)
committerAidan <torrinfail@gmail.com>
Mon, 6 Jul 2020 08:10:33 +0000 (02:10 -0600)
Makefile

index c45a56304b928a426a4e50892cda3d56b5b61c4a..3336e3cef0c342691673d06f7f16776beed5eaca 100644 (file)
--- a/Makefile
+++ b/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