aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ab9d050..6353a15 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
.POSIX:
PREFIX = /usr/local
-CC = gcc
+CC = cc
dwmblocks: dwmblocks.o
- $(CC) -pipe dwmblocks.o -L/usr/local/lib -lX11 -o dwmblocks
+ $(CC) -pipe dwmblocks.o -lX11 -lbsd -o dwmblocks
dwmblocks.o: dwmblocks.c config.h
- $(CC) -c -std=c99 -Wall -Wextra -pedantic -pipe -I/usr/local/include dwmblocks.c
+ $(CC) -c -std=c99 -Wall -Wextra -pedantic -pipe -D_POSIX_C_SOURCE=199309L dwmblocks.c
clean:
rm -f *.o *.gch dwmblocks
install: dwmblocks