aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index efd2104..5cfbb5a 100644
--- a/Makefile
+++ b/Makefile
@@ -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