pinosaur
/
dwmblocks.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b9d65
)
Added variable in makefile to change c compiler
author
Aidan
<torrinfail@gmail.com>
Mon, 6 Jul 2020 08:10:33 +0000
(
02:10
-0600)
committer
Aidan
<torrinfail@gmail.com>
Mon, 6 Jul 2020 08:10:33 +0000
(
02:10
-0600)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c45a563
..
3336e3c
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