From 2d704e6f31e1820cd760f28be5d3d13386eb486b Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 24 Dec 2024 12:17:29 +0100 Subject: up --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3