aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAidan <torrinfail@gmail.com>2020-07-06 02:10:33 -0600
committerAidan <torrinfail@gmail.com>2020-07-06 02:10:33 -0600
commitdcb198d7d7da45b8d7cd2d241b42f8405bd049b1 (patch)
tree3cb0cc44663e7ebb0eb0df6bcd5b0c4f785bc9fe /Makefile
parent31b9d65b31dfd9af2f38769f11b942eafda28483 (diff)
Added variable in makefile to change c compiler
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c45a563..3336e3c 100644
--- 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