Changed makefile to include X11 libraries.
This commit is contained in:
parent
c97d6d119e
commit
9c88bb5245
12
Makefile
12
Makefile
@ -1,8 +1,6 @@
|
|||||||
output: dwmblocks.o blocks.o
|
output: dwmblocks.o
|
||||||
gcc dwmblocks.o blocks.o -o dwmblocks
|
gcc dwmblocks.o -lX11 -o dwmblocks
|
||||||
dwmblocks.o: dwmblocks.c
|
dwmblocks.o: dwmblocks.c blocks.h
|
||||||
gcc -c dwmblocks.c
|
gcc -c -lX11 dwmblocks.c
|
||||||
blocks.o: blocks.h
|
|
||||||
gcc -c blocks.h
|
|
||||||
clean:
|
clean:
|
||||||
rm *.o dwmblocks
|
rm *.o *.gch dwmblocks
|
||||||
|
Loading…
Reference in New Issue
Block a user