diff options
-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 |