From 9c88bb5245601878087d4921177960f1bed6f936 Mon Sep 17 00:00:00 2001 From: Aidan Date: Sun, 24 Mar 2019 16:36:52 -0600 Subject: Changed makefile to include X11 libraries. --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6720c7f..a51d547 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ -output: dwmblocks.o blocks.o - gcc dwmblocks.o blocks.o -o dwmblocks -dwmblocks.o: dwmblocks.c - gcc -c dwmblocks.c -blocks.o: blocks.h - gcc -c blocks.h +output: dwmblocks.o + gcc dwmblocks.o -lX11 -o dwmblocks +dwmblocks.o: dwmblocks.c blocks.h + gcc -c -lX11 dwmblocks.c clean: - rm *.o dwmblocks + rm *.o *.gch dwmblocks -- cgit v1.2.3-70-g09d2