pinosaur
/
dwmblocks.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416a36d
)
Added back the ability to change compiler with CC environment variable.
author
aidan
<aidan@Edward.localdomain>
Wed, 19 Aug 2020 16:12:37 +0000
(10:12 -0600)
committer
aidan
<aidan@Edward.localdomain>
Wed, 19 Aug 2020 16:12:37 +0000
(10:12 -0600)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3cfa764
..
8b3a30e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,8
@@
PREFIX ?= /usr/local
+CC ?= cc
output: dwmblocks.c blocks.def.h blocks.h
-
cc `pkg-config --cflags x11` `pkg-config
--libs x11` dwmblocks.c -o dwmblocks
+
${CC} `pkg-config --cflags x11
--libs x11` dwmblocks.c -o dwmblocks
blocks.h:
cp blocks.def.h $@