aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAidan <torrinfail@gmail.com>2019-03-24 16:36:52 -0600
committerAidan <torrinfail@gmail.com>2019-03-24 16:36:52 -0600
commit9c88bb5245601878087d4921177960f1bed6f936 (patch)
tree376c78668abf2071721e02ece8d1241de8a74d8e /Makefile
parentc97d6d119e83e1fc776fadb185f9d5b2e2fd5b14 (diff)
downloaddwmblocks-9c88bb5245601878087d4921177960f1bed6f936.tar.gz
dwmblocks-9c88bb5245601878087d4921177960f1bed6f936.tar.bz2
dwmblocks-9c88bb5245601878087d4921177960f1bed6f936.zip
Changed makefile to include X11 libraries.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
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