diff options
author | Dawid Potocki <dawid@dawidpotocki.com> | 2022-01-22 03:38:48 +1300 |
---|---|---|
committer | Dawid Potocki <dawid@dawidpotocki.com> | 2022-01-22 03:38:48 +1300 |
commit | b67238d640ffab5c8c9c82e997dd8496c68ecc53 (patch) | |
tree | 4b84f3770894e8cc49142c41fed217ea0205390b | |
parent | cedb4f6434c52977f32cad781ec5968234177ae3 (diff) |
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,11 +2,12 @@ PREFIX = /usr/local CC = cc +CFLAGS = -std=c99 -Wall -Wpedantic -D _DEFAULT_SOURCE dwmblocks: dwmblocks.o - $(CC) dwmblocks.o -lX11 -o dwmblocks + ${CC} dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h - $(CC) -c dwmblocks.c + ${CC} ${CFLAGS} -c dwmblocks.c clean: rm -f *.o *.gch dwmblocks |