aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-24 12:17:29 +0100
committerJoe <rbo@gmx.us>2024-12-24 12:17:29 +0100
commit2d704e6f31e1820cd760f28be5d3d13386eb486b (patch)
tree0535f9d44009cebf7255292ef28ac9b196141646 /Makefile
parentup (diff)
downloaddwmblocks-2d704e6f31e1820cd760f28be5d3d13386eb486b.tar.gz
dwmblocks-2d704e6f31e1820cd760f28be5d3d13386eb486b.tar.bz2
dwmblocks-2d704e6f31e1820cd760f28be5d3d13386eb486b.tar.xz
dwmblocks-2d704e6f31e1820cd760f28be5d3d13386eb486b.tar.zst
dwmblocks-2d704e6f31e1820cd760f28be5d3d13386eb486b.zip
up
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